-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (39 loc) · 875 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
41
42
43
44
45
46
47
48
49
50
51
all: debug
debug:
@echo
bin/build-gensite
bin/gensite . www http://localhost:8000
ocean:
@echo
bin/build-gensite
bin/gensite . www https://ocean.samhuri.net
beta: clean_blog
@echo
bin/build-gensite
bin/gensite . www https://beta.samhuri.net
release: clean_blog
@echo
bin/build-gensite
bin/gensite . www
publish: release
@echo
bin/publish --delete www/
publish_beta: beta
@echo
bin/publish --beta --delete www/
clean: clean_blog
clean_blog:
@echo
rm -rf www/* www/.htaccess
clean_swift:
@echo
rm -rf gensite/.build
rm -rf $(HOME)/Library/Developer/Xcode/DerivedData/gensite-*
rm -rf samhuri.net/.build
rm -rf $(HOME)/Library/Developer/Xcode/DerivedData/samhuri-*
serve:
@echo
cd www && python3 -m http.server --bind localhost
watch:
bin/watch
.PHONY: debug ocean beta release publish publish_beta clean clean_blog clean_swift serve watch