A first stab at docopt-sh integration
This commit is contained in:
11
Makefile
11
Makefile
@ -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
|
||||
|
Reference in New Issue
Block a user