Browse files

Perlito5 - add a note about javascript minification

  • Loading branch information...
1 parent da14ca5 commit 6807ab178b0cc71a68cb745472c8a8333cbd9c54 @fglock committed Sep 11, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 README-perlito5
View
13 README-perlito5
@@ -58,6 +58,19 @@ Bootstrap with node.js:
time node perlito5.js -Isrc5/lib -Cjs src5/util/perlito5.pl > perlito5-new.js && diff perlito5-new.js perlito5.js ; cp perlito5-new.js perlito5.js
+Minifying the javascript output:
+
+ The "jsmin" compressor seems to work, it gives 20% compression:
+
+ http://crockford.com/javascript/jsmin
+
+ $ sudo port install jsmin # osx
+ $ jsmin < perlito5.js > mini-perlito5.js
+ $ nice prove -r -e 'node mini-perlito5.js -I./src5/lib' t5
+ ...
+ All tests successful.
+
+
TODO:
Running the tests using perl6:

0 comments on commit 6807ab1

Please sign in to comment.