Makefile: added 'minify' target
author() <nilclass@riseup.net>
Tue, 2 Jul 2013 19:12:36 +0000 (21:12 +0200)
committerNiklas Cathor <nilclass@riseup.net>
Wed, 17 Jul 2013 12:37:48 +0000 (14:37 +0200)
Makefile

index 0489ec9..7a5bd4f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,5 +12,7 @@ buildserver:
 build-all:
        curl -X POST -d 'groups=core&groups=widget&groups=baseclient&groups=caching&groups=modules&groups=debug' http://localhost:8000/ -o remotestorage.js
 
+minify:
+       uglifyjs remotestorage.js -o remotestorage.min.js --mangle --wrap --export-all
 
-.PHONY: help buildserver build-all
+.PHONY: help buildserver build-all minify