diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-05-31 15:39:35 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-05-31 15:39:35 -0700 |
commit | 52c8fd028789f80dfd8460dcbaca07df17dd56e9 (patch) | |
tree | c7fb644cbffe7a5bca8ee9b79c68b2535387f44a /Makefile | |
parent | 47c5ede5e8356bd832c181c4deb68d52dbec77a8 (diff) | |
download | aft-52c8fd028789f80dfd8460dcbaca07df17dd56e9.tar.gz aft-52c8fd028789f80dfd8460dcbaca07df17dd56e9.zip |
start a Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
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 + |