This repository has been archived on 2021-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
abra/Makefile

23 lines
377 B
Makefile
Raw Normal View History

default: test
2020-09-08 06:48:53 +00:00
test:
@docker run \
-it \
--rm \
-v "$(pwd):/workdir" \
docker:dind \
apk add bats && bats test.bats
2020-09-08 07:19:03 +00:00
2020-10-25 20:41:17 +00:00
docopt:
@if [ ! -d ".venv" ]; then \
python3 -m venv .venv && \
.venv/bin/pip install -U pip setuptools wheel && \
.venv/bin/pip install docopt-sh; \
fi
.venv/bin/docopt.sh abra
2020-10-26 10:20:09 +00:00
coverage:
@kcov coverage kcov
2020-10-25 20:41:17 +00:00
.PHONY: test docopt coverage