Remove yq target and newline test target
This commit is contained in:
parent
86a790bbe4
commit
f648b251bf
14
Makefile
14
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user