A first stab at docopt-sh integration

This commit is contained in:
Luke Murphy
2020-10-25 21:41:17 +01:00
parent dad72c820a
commit ae6c2c26ae
2 changed files with 144 additions and 43 deletions

View File

@ -14,4 +14,13 @@ dev-install-yq:
chmod +x yq_linux_amd64 && \
mv yq_linux_amd64 ~/.local/bin/yq
.PHONY: dev-install install test dev-install-yq
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
.PHONY: dev-install install test dev-install-yq docopt