-
-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (26 loc) · 884 Bytes
/
Makefile
File metadata and controls
36 lines (26 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.PHONY: help
help: ## Helper
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##/\n\t/'
.DEFAULT_GOAL := help
.PHONY: doppler
doppler: ## Download secrets from Doppler
@chmod +x ./scripts/doppler.sh && ./scripts/doppler.sh
.PHONY: setup
setup: doppler ## Setup local environment
chmod +x ./scripts/setup.sh && ./scripts/setup.sh
.PHONY: lint
lint: ## Run linter on all files
pre-commit run --all-files
.PHONY: check-data
check-data: ## Validate awesome data with jsonschema
python3 scripts/check.py
.PHONY: process-data
process-data: ## Genereta anayltics from awesome data
python3 scripts/process.py $(ARGS)
.PHONY: render-data
render-data: ## Render awesome data to README.md
python3 scripts/render.py
.PHONY: test
test: check-data render-data ## Run all tests
.PHONY: release
release: check-data process-data render-data ## Release