summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHorus32016-10-21 22:29:31 +0200
committerHorus32016-10-21 22:29:31 +0200
commitee206aff49565a04e3753cf07dcf1787b0dc5850 (patch)
treecc214e72ddfd4d56b6313eb8c07f6a12a851ee20 /Makefile
parentb5777504850c99c0aa74e15516598de2da41e40d (diff)
downloadiamfabulous.de-ee206aff49565a04e3753cf07dcf1787b0dc5850.tar.gz
Add Gulp + Journal + sane CSS + complete Rewrite + Piwik etc etc etc.
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