From 021f6ace11aee47a7ba9d7381cc16b0acf50f748 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 22 Dec 2020 21:35:57 +0100 Subject: Switched from cssnano to csso, added robots.txt, changed output dir --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index efec3e7..53dfdb7 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ all: build clean: - @rm -rf dist/* + @rm -rf output/* build_fonts: clean @scripts/build_fonts.sh @@ -12,7 +12,10 @@ build_sass: clean build_content: clean @scripts/build_content.sh -build: build_fonts build_sass build_content +copy_static: clean + @cp -r static/* output/ + +build: build_fonts build_sass build_content copy_static watch_sass: build @scripts/watch_sass.sh @@ -28,6 +31,6 @@ serve_only: build serve: watch serve_only deploy: build - @rsync --progress --stats -avz --delete dist/ vulpes@94.130.78.123:/srv/http/volpeon.ink/ + @rsync --progress --stats -avz --delete output/ vulpes@94.130.78.123:/srv/http/volpeon.ink/ .PHONY: all clean build watch serve deploy -- cgit v1.2.3-70-g09d2