aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: cfee16967aec8265b21ca79835b23d8876d21a91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 eventline/*.yaml \
		mirror-to-github/*.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