summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ceda70a..3dcfa83 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,17 @@
all: clean build
-build:
- hugo --ignoreCache --log=true --logFile=./log/hugo.log --verbose=false 1>/dev/null
+build: clean
+ cd static && cat normalize.css skeleton.css font.css custom.css > concat.css
+ gulp
+ HUGO_TEST= hugo --ignoreCache --log=true --logFile=./log/hugo.log --verbose=false 1>/dev/null
+ gulp minifyhtml
+ rm -rf public/gulp.css/
+ rm -f public/*.css
clean:
rm -rf public
+ rm -f static/concat.css
+ rm -rf static/gulp.css
list:
ls public
@@ -23,3 +30,5 @@ deploy: clean build
serve:
hugo serve
+test:
+ export HUGO_TEST=1 && hugo --ignoreCache --verbose=false