All you need is Node.js.
git clone https://github.com/js2coffee/js2coffee
cd js2coffee
npm install
Once you start hacking, periodically run tests.
npm test
If you want to run pending specs as well:
ALL=1 npm test
If you'd like to isolate a spec, edit the spec file to add only: true
:
# specs/xxx/yyy.txt
only: true
---
x()
---
x()
The file dist/js2coffee.js
is automatically built. Use make
to build it.
make
It is also ran as a pre-publish hook.
vim History.md
bump *.json Readme.md
npm publish && git release v0.1.2
Check out comments in js2coffee.js
for an overiew.
To be documented, but see lib/builder/base.coffee
.
To be documented, but see lib/transformers/base.coffee
.