diff options
author | Volpeon <git@volpeon.ink> | 2020-12-22 21:35:57 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-22 21:35:57 +0100 |
commit | 021f6ace11aee47a7ba9d7381cc16b0acf50f748 (patch) | |
tree | ba098a9046a0d0e0262d027492e9460b2c5ad8de /Makefile | |
parent | Added deploy command to makefile (diff) | |
download | volpeon.ink-021f6ace11aee47a7ba9d7381cc16b0acf50f748.tar.gz volpeon.ink-021f6ace11aee47a7ba9d7381cc16b0acf50f748.tar.bz2 volpeon.ink-021f6ace11aee47a7ba9d7381cc16b0acf50f748.zip |
Switched from cssnano to csso, added robots.txt, changed output dir
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 |