diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..19ad5a7 --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,30 @@ | |||
1 | all: build | ||
2 | |||
3 | clean: | ||
4 | @rm -rf dist/* | ||
5 | |||
6 | build_fonts: clean | ||
7 | @scripts/build_fonts.sh | ||
8 | |||
9 | build_sass: clean | ||
10 | @scripts/build_sass.sh | ||
11 | |||
12 | build_content: clean | ||
13 | @scripts/build_content.sh | ||
14 | |||
15 | build: build_fonts build_sass build_content | ||
16 | |||
17 | watch_sass: build | ||
18 | @scripts/watch_sass.sh | ||
19 | |||
20 | watch_content: build | ||
21 | @scripts/watch_content.sh | ||
22 | |||
23 | watch: watch_sass watch_content | ||
24 | |||
25 | serve_only: build | ||
26 | @scripts/serve.sh | ||
27 | |||
28 | serve: watch serve_only | ||
29 | |||
30 | .PHONY: all build watch serve | ||