aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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