-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 772 Bytes
/
Makefile
File metadata and controls
29 lines (23 loc) · 772 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
.PHONY: help build serve test deploy
help:
@echo 'Makefile for pythonineducation.org'
@echo ''
@echo 'Usage:'
@echo ' make sass build the static CSS files from sass'
@echo ' make build build the site into the output directory'
@echo ' make serve build the site and serve on port 8000, watching for changes'
@echo ' make test test that site builds, has no broken links, and spells the conference name correctly'
@echo ' make deploy deploy site'
@echo ''
sass:
sassc media/scss/main.scss media/css/main.css
sassc media/scss/bootstrap.scss media/css/bootstrap.css
sassc media/scss/bootstrap-extended.scss media/css/bootstrap-extended.css
build: sass
wok
serve: sass
wok --serve
test:
./pre-flight-checks.sh
deploy:
./deploy.sh