aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-05-31 15:39:35 -0700
committerBryan Newbold <bnewbold@archive.org>2020-05-31 15:39:35 -0700
commit52c8fd028789f80dfd8460dcbaca07df17dd56e9 (patch)
treec7fb644cbffe7a5bca8ee9b79c68b2535387f44a
parent47c5ede5e8356bd832c181c4deb68d52dbec77a8 (diff)
downloadaft-52c8fd028789f80dfd8460dcbaca07df17dd56e9.tar.gz
aft-52c8fd028789f80dfd8460dcbaca07df17dd56e9.zip
start a Makefile
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d49f16b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+
+SHELL = /bin/bash
+.SHELLFLAGS = -o pipefail -c
+
+.PHONY: help
+help: ## Print info about all commands
+ @echo "Commands:"
+ @echo
+ @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[01;32m%-20s\033[0m %s\n", $$1, $$2}'
+
+.PHONY: test
+test: ## Run all tests and lints
+ cargo test
+