This repository has been archived on 2024-10-23. You can view files and clone it, but cannot push or open issues or pull requests.
abra-bash/Makefile
Luke Murphy ae6c2c26ae
Some checks failed
continuous-integration/drone/push Build is failing
A first stab at docopt-sh integration
2020-10-25 21:41:17 +01:00

27 lines
558 B
Makefile

default: test
dev-install:
@ln -sf $(PWD)/abra ~/.local/bin
install:
@curl https://install.abra.autonomic.zone | bash
test:
@bats test.bats
dev-install-yq:
@wget https://github.com/mikefarah/yq/releases/download/3.3.2/yq_linux_amd64 && \
chmod +x yq_linux_amd64 && \
mv yq_linux_amd64 ~/.local/bin/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