Permalink
Browse files

Add comments and directions on how to use node

  • Loading branch information...
1 parent 9fec568 commit b3fe95f71690b10550c13bd19821075ed46780c7 @kriszyp committed Jul 6, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 cpm
View
5 cpm
@@ -1,4 +1,9 @@
#!/bin/bash
+# Set the path to you CPM directory here:
export CPM_PATH=.
+# You can point to an alternate registry if desired:
export CPM_REGISTRY=http://packages.dojofoundation.org/
+# You can use node instead of rhino, by uncommenting this line:
+# node /path/to/cpm/lib/cpm.js $@
+# by default we use rhino (since the JVM is installed almost everywhere)
java -classpath $CPM_PATH/jars/js.jar org.mozilla.javascript.tools.shell.Main -opt -1 $CPM_PATH/lib/cpm.js $@

0 comments on commit b3fe95f

Please sign in to comment.