diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,7 +1,7 @@ | |||
1 | all: build | 1 | all: build |
2 | 2 | ||
3 | clean: | 3 | clean: |
4 | @rm -rf dist/* | 4 | @rm -rf output/* |
5 | 5 | ||
6 | build_fonts: clean | 6 | build_fonts: clean |
7 | @scripts/build_fonts.sh | 7 | @scripts/build_fonts.sh |
@@ -12,7 +12,10 @@ build_sass: clean | |||
12 | build_content: clean | 12 | build_content: clean |
13 | @scripts/build_content.sh | 13 | @scripts/build_content.sh |
14 | 14 | ||
15 | build: build_fonts build_sass build_content | 15 | copy_static: clean |
16 | @cp -r static/* output/ | ||
17 | |||
18 | build: build_fonts build_sass build_content copy_static | ||
16 | 19 | ||
17 | watch_sass: build | 20 | watch_sass: build |
18 | @scripts/watch_sass.sh | 21 | @scripts/watch_sass.sh |
@@ -28,6 +31,6 @@ serve_only: build | |||
28 | serve: watch serve_only | 31 | serve: watch serve_only |
29 | 32 | ||
30 | deploy: build | 33 | deploy: build |
31 | @rsync --progress --stats -avz --delete dist/ vulpes@94.130.78.123:/srv/http/volpeon.ink/ | 34 | @rsync --progress --stats -avz --delete output/ vulpes@94.130.78.123:/srv/http/volpeon.ink/ |
32 | 35 | ||
33 | .PHONY: all clean build watch serve deploy | 36 | .PHONY: all clean build watch serve deploy |