Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Perlito5 - add a note about javascript minification

  • Loading branch information...
commit 6807ab178b0cc71a68cb745472c8a8333cbd9c54 1 parent da14ca5
Flavio S. Glock authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 README-perlito5
13 README-perlito5
View
@@ -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:
Please sign in to comment.
Something went wrong with that request. Please try again.