Permalink
Browse files

Update README.

  • Loading branch information...
rstacruz committed Jun 3, 2011
1 parent 6afdab9 commit b426b66461bb915b121fd182f0a3dd4e61606ecf
Showing with 16 additions and 2 deletions.
  1. +16 −2 README.md
View
@@ -1,18 +1,32 @@
# JS2Coffee
#### A JavaScript to CoffeeScript compiler.
+ $ npm install js2coffee
+
+Usage:
+
+ $ js2coffee input_file.js
+ $ js2coffee input_file.js > output.js
+ $ cat input.js | js2coffee
+
+### Development
+
Install dependencies:
$ npm install
+ $ npm install glob
Run tests:
$ coffee test/
-Make the browser version:
+Build the browser version:
+
+ # Uses ruby and the JSMin gem for now;
+ # Run this then check dist/js2coffee.min.js
+ $ gem install jsmin
$ make
- # Then check dist/js2coffee.min.js
### Acknowledgements

0 comments on commit b426b66

Please sign in to comment.