Skip to content

Commit

Permalink
Perlito5 - add a note about javascript minification
Browse files Browse the repository at this point in the history
  • Loading branch information
fglock committed Sep 11, 2012
1 parent da14ca5 commit 6807ab1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README-perlito5
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6807ab1

Please sign in to comment.