-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (31 loc) · 830 Bytes
/
Makefile
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
37
38
39
40
.DEFAULT_GOAL:=help
.PHONY: build
build: index icons ## build site
./scripts/build.py
.PHONY: clean
clean: ## remove build artefacts
./scripts/clean.py
.PHONY: icons
icons: ## fabricate site icons
./scripts/icons.py
.PHONY: help
.SILENT: help
help: ## list make targets
awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf " \033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
.PHONY: index
index: ## build catalogue
./scripts/index.py
.PHONY: install
install: ## install dependecies
bundle install
pip3 install --requirement requirements.txt
.PHONY: list
.SILENT: list
list: index ## show tools catalogue
./scripts/list.py
.PHONY: serve
serve: build ## locally serve site
./scripts/serve.py
.PHONY: tarball
tarball: build ## package site
./scripts/tarball.py