cppcheck/htdocs/site/minify.bat

12 lines
295 B
Batchfile
Raw Normal View History

@echo off
2012-11-29 16:02:25 +01:00
rem install node.js and then run:
rem npm install -g clean-css
rem npm install -g uglify-js
pushd %~dp0
2013-02-15 08:41:01 +01:00
type css\all.css css\demo.css css\normalize.css | cleancss --s0 -o css\pack.css
cmd /c uglifyjs js/github.js js/picnet.table.filter.min.js -o js/pack.js --compress --mangle
2012-11-29 16:02:25 +01:00
popd