summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 53dfdb78163304e9567a0b07a199d7c212df58db (plain) (blame)
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
all: build

clean:
	@rm -rf output/*

build_fonts: clean
	@scripts/build_fonts.sh

build_sass: clean
	@scripts/build_sass.sh

build_content: clean
	@scripts/build_content.sh

copy_static: clean
	@cp -r static/* output/

build: build_fonts build_sass build_content copy_static

watch_sass: build
	@scripts/watch_sass.sh

watch_content: build
	@scripts/watch_content.sh

watch: watch_sass watch_content

serve_only: build
	@scripts/serve.sh

serve: watch serve_only

deploy: build
	@rsync --progress --stats -avz --delete output/ vulpes@94.130.78.123:/srv/http/volpeon.ink/ 

.PHONY: all clean build watch serve deploy