Remove yq target and newline test target

This commit is contained in:
Luke Murphy 2020-10-26 17:49:21 +01:00
parent 86a790bbe4
commit f648b251bf
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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