aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulien Dessaux2022-09-04 11:32:05 +0200
committerJulien Dessaux2022-09-04 11:32:05 +0200
commit489551008c78ef9ef66ebdf5e4958cc111e9ab09 (patch)
tree671a247c213708a412825be7ebe2a06b9032fadb /Makefile
parentInitial import (diff)
downloadev-scripts-489551008c78ef9ef66ebdf5e4958cc111e9ab09.tar.gz
ev-scripts-489551008c78ef9ef66ebdf5e4958cc111e9ab09.tar.bz2
ev-scripts-489551008c78ef9ef66ebdf5e4958cc111e9ab09.zip
Added makefile
Diffstat (limited to '')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..546b893
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+SHELL:=bash
+
+.PHONY: check
+check: ## make check # Check syntax of eventline jobs
+ evcli deploy-jobs --dry-run */*.yaml
+
+.PHONY: run
+run: ## make run # deploy all jobs
+ evcli deploy-jobs */*.yaml
+
+help:
+ @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
+
+.DEFAULT_GOAL := help