aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJulien Dessaux2024-09-20 00:43:57 +0200
committerJulien Dessaux2024-09-20 00:43:57 +0200
commitacd86a6d28152ab3b3acbfaa0feff6ddc3feeb13 (patch)
tree7532b14529df3f51f99da709268092f56784366f /GNUmakefile
parentAdded ods deploy job (diff)
downloadev-scripts-acd86a6d28152ab3b3acbfaa0feff6ddc3feeb13.tar.gz
ev-scripts-acd86a6d28152ab3b3acbfaa0feff6ddc3feeb13.tar.bz2
ev-scripts-acd86a6d28152ab3b3acbfaa0feff6ddc3feeb13.zip
renamed makefile
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
new file mode 100644
index 0000000..b00e4f6
--- /dev/null
+++ b/GNUmakefile
@@ -0,0 +1,26 @@
+SHELL:=bash
+
+.PHONY: check
+check: ## make check # Check syntax of eventline jobs
+ evcli deploy-jobs --dry-run eventline/*.yaml \
+ certificates/*.yaml \
+ grenade-brothers/*.yaml \
+ mirror-to-github/*.yaml \
+ ods/*.yaml \
+ www/*.yaml
+ evcli deploy-jobs --dry-run -p upgrades upgrades/*.yaml
+
+.PHONY: run
+run: ## make run # deploy all jobs
+ evcli deploy-jobs eventline/*.yaml \
+ certificates/*.yaml \
+ grenade-brothers/*.yaml \
+ mirror-to-github/*.yaml \
+ ods/*.yaml \
+ www/*.yaml
+ evcli deploy-jobs -p upgrades upgrades/*.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