From 127f644a76f876ec436d4170ab1b1ae0da8f2dff Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Sat, 18 Jun 2016 16:07:34 +1000 Subject: Reintroduce htmlmin task --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 82ce430..aae3d22 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,16 @@ -all: mkdirs swig min-css min-js copy +all: mkdirs swig htmlmin min-css min-js copy swig: @node node_modules/swig/bin/swig.js render -j dist.json templates/faq.swig > dist/faq.html @node node_modules/swig/bin/swig.js render -j dist.json templates/index.swig > dist/index.html @node node_modules/swig/bin/swig.js render -j dist.json templates/tools.swig > dist/tools.html +htmlmin: + @node node_modules/htmlmin//bin/htmlmin dist/index.html -o dist/index.html + @node node_modules/htmlmin//bin/htmlmin dist/faq.html -o dist/faq.html + @node node_modules/htmlmin//bin/htmlmin dist/tools.html -o dist/tools.html + + mkdirs: @mkdir -p ./dist/img -- cgit v1.2.3