summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2020-12-22 21:35:57 +0100
committerVolpeon <git@volpeon.ink>2020-12-22 21:35:57 +0100
commit021f6ace11aee47a7ba9d7381cc16b0acf50f748 (patch)
treeba098a9046a0d0e0262d027492e9460b2c5ad8de /Makefile
parentAdded deploy command to makefile (diff)
downloadvolpeon.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--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index efec3e7..53dfdb7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
1all: build 1all: build
2 2
3clean: 3clean:
4 @rm -rf dist/* 4 @rm -rf output/*
5 5
6build_fonts: clean 6build_fonts: clean
7 @scripts/build_fonts.sh 7 @scripts/build_fonts.sh
@@ -12,7 +12,10 @@ build_sass: clean
12build_content: clean 12build_content: clean
13 @scripts/build_content.sh 13 @scripts/build_content.sh
14 14
15build: build_fonts build_sass build_content 15copy_static: clean
16 @cp -r static/* output/
17
18build: build_fonts build_sass build_content copy_static
16 19
17watch_sass: build 20watch_sass: build
18 @scripts/watch_sass.sh 21 @scripts/watch_sass.sh
@@ -28,6 +31,6 @@ serve_only: build
28serve: watch serve_only 31serve: watch serve_only
29 32
30deploy: build 33deploy: 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