diff --git a/.gitignore b/.gitignore index 266ef35..f4266cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ tests/dokku tests/fixtures tests/bin/plugn +tests/bin/readlink .vagrant diff --git a/Makefile b/Makefile index 2d94e40..c7b00bd 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,15 @@ else endif endif -ci-dependencies: shellcheck bats +readlink: +ifeq ($(shell uname),Darwin) +ifeq ($(shell greadlink > /dev/null 2>&1 ; echo $$?),127) + brew install coreutils +endif + ln -nfs `which greadlink` tests/bin/readlink +endif + +ci-dependencies: shellcheck bats readlink lint: # these are disabled due to their expansive existence in the codebase. we should clean it up though