Re-jig names and add test target in Makefile
This commit is contained in:
parent
eec9a8ba1a
commit
dad72c820a
19
Makefile
19
Makefile
@ -1,14 +1,17 @@
|
|||||||
default: install
|
default: test
|
||||||
|
|
||||||
dev_install:
|
dev-install:
|
||||||
ln -sf $(PWD)/abra ~/.local/bin
|
@ln -sf $(PWD)/abra ~/.local/bin
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install abra /usr/bin/abra
|
@curl https://install.abra.autonomic.zone | bash
|
||||||
|
|
||||||
get_yq:
|
test:
|
||||||
wget https://github.com/mikefarah/yq/releases/download/3.3.2/yq_linux_amd64 && \
|
@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 && \
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user