Re-jig names and add test target in Makefile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy 2020-10-25 21:31:41 +01:00
parent eec9a8ba1a
commit dad72c820a
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

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