diff --git a/Makefile b/Makefile index b77060e6..af6ffbf4 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ default: test test: - @docker run -it --rm -v "$(pwd):/workdir" docker:dind apk add bats && bats test.bats - -dev-install-yq: - @wget https://github.com/mikefarah/yq/releases/download/3.3.2/yq_linux_amd64 && \ - chmod +x yq_linux_amd64 && \ - mv yq_linux_amd64 ~/.local/bin/yq + @docker run \ + -it \ + --rm \ + -v "$(pwd):/workdir" \ + docker:dind \ + apk add bats && bats test.bats docopt: @if [ ! -d ".venv" ]; then \ @@ -19,4 +19,4 @@ docopt: coverage: @kcov coverage kcov -.PHONY: test dev-install-yq docopt coverage +.PHONY: test docopt coverage