Commits

uniqx  committed eea9365

uglify make rule

  • Participants
  • Parent commits a2bca02

Comments (0)

Files changed (1)

 JADE = node_modules/jade/bin/jade
 
 JADE_OPTIONS = "{ pretty: true, filename: 'src/main/client/ui/index.jade'}"
-JADE_PACKAGE_OPTIONS = "{ pretty: false}"
+JADE_PACKAGE_OPTIONS = "{ pretty: false, filename: 'src/main/client/ui/index.jade'}"
 
 
 JS = util/js-build
 html-package: js-package
 	$(JADE) -o $(JADE_PACKAGE_OPTIONS) < src/main/client/ui/index.jade > build/bookmaak.html
 
-js-package:
-	$(JS)
+js-package: js
+	$(UGLIFY) < build/javascript/bookmaak.js > build/javascript/ugly.bookmaak.js
 
 
 html: js