summaryrefslogtreecommitdiff
path: root/tools/jsbuilder/build.php
diff options
context:
space:
mode:
Diffstat (limited to 'tools/jsbuilder/build.php')
-rw-r--r--tools/jsbuilder/build.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/jsbuilder/build.php b/tools/jsbuilder/build.php
index 8712c347..e690cd18 100644
--- a/tools/jsbuilder/build.php
+++ b/tools/jsbuilder/build.php
@@ -22,10 +22,12 @@
* @package Tools
*/
-/**
- * The compression command line
- */
+//compress using a script, has more options but lesss robut
+//define('COMPRESS_COMMAND','java -jar '.dirname(__FILE__).'/custom_rhino.jar packer.js %s > %s');
+
+//compress using build-in engine, very robust.
define('COMPRESS_COMMAND','java -jar '.dirname(__FILE__).'/custom_rhino.jar -c %s > %s');
+
/**
* The root directory for storing all source js files
*/