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
1 changed files with 7 additions and 7 deletions

View File

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