JavaScript Continuous Compilation
JavaScript is very loose language. Closure Compiler helps us to keep quality of codes.
jscc does:
- watch modification of your JS files (using watchdog and goog.require dependency),
- background compile & lint (using Closure Compiler and Closure Lint),
- visualize them with dinamic graph (using Highcharts and Flask).
Dependencies
- Closure Linter
- growlnotify
- Watchdog
- Closure Library
- Closure Compiler
- Flask
- Highcharts
Install
- Fork the repos on github.
- 'git clone' into your project dir.
- Make branch: 'git checkout -b '
- Do: jscc$ make client_install
it does 'ln -s' jscc/client/{build.sh, Makefile, client.py}
- Try 'make conftest' to configure correctly
- Try 'make {deps.txt, lint, deps.js, compile}'
especially 'make compile' fails when you set wrong LIBPATH and EXTERNS, be careful.
- Run jscc/server/server.py
It may better to use another shell not to bother with a lot of logs.
- Try 'make {report, watch}'
'make watch' also be better to run on another shell.
License
MIT LICENSE
Authors
NISHIO Hirokazu (nishio.hirokazu@gmail.com)
Contact
(github@nishiohirokazu.org)
Download
I don't recommend to download in tar or zip.
Please visit https://github.com/nishio/jscc.
You can also clone the project with Git
by running:
$ git clone git://github.com/nishio/jscc