From ddd2b1339e908ea4a42139dc3814529f7701616e Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sun, 19 Dec 2010 17:12:26 -0800 Subject: [PATCH] minify & combine css --- Makefile | 2 +- combine.sh | 7 +++++-- index.html | 6 +++--- minify.sh | 8 ++++++++ templates/blog/index.html | 2 +- templates/blog/post.html | 2 +- templates/proj/index.html | 12 ++++++------ templates/proj/proj/index.html | 9 +++------ 8 files changed, 28 insertions(+), 20 deletions(-) diff --git a/Makefile b/Makefile index a3def96..c54beee 100644 --- a/Makefile +++ b/Makefile @@ -44,4 +44,4 @@ clean: rm -rf blog/* rm assets/*.min.js -.PHONY: proj +.PHONY: proj blog diff --git a/combine.sh b/combine.sh index 2fd97f0..4b40fd6 100755 --- a/combine.sh +++ b/combine.sh @@ -3,5 +3,8 @@ echo "request,showdown,strftime,tmpl,jquery-serializeObject,blog -> assets/blog-all.min.js" cat assets/{request,showdown,strftime,tmpl,jquery-serializeObject,blog}.min.js >|assets/blog-all.min.js -echo "gitter.storage-polyfill,store,proj -> assets/proj-all.min.js" -cat assets/{gitter,storage-polyfill,store,proj}.min.js >|assets/proj-all.min.js +echo "gitter.store,proj -> assets/proj-all.min.js" +cat assets/{gitter,store,proj}.min.js >|assets/proj-all.min.js + +echo "style,proj -> assets/proj-all.min.css" +cat assets/{style,proj}.min.css >|assets/proj-all.min.css diff --git a/index.html b/index.html index c55e112..bb2a8e9 100644 --- a/index.html +++ b/index.html @@ -3,12 +3,12 @@ samhuri.net - + - - + + - - - +