Thanks to visit codestin.com
Credit goes to github.com

Skip to content

recomputing/ready.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ready.js : continuous integration using jslint, nodejs and git

What does it do?

  1. Check if your javascript are valid with jslint.
  2. Minify your javascript with Closure Compiler (optimize and minify your code).
  3. Watch your javascript files for jslint while you're coding.
  4. Create an aggregated file of all your javascripts.

Prerequesites

Install git and node.js.

How to install in your project (for git)

  1. run git submodule add git://github.com/dsimard/ready.js.git ready.js

  2. run cd ready.js && git submodule init && git submodule update && cd ..

  3. Create config file in your_project/ready.conf.js :

     { src : "./javascripts", dest : "./minified" }
    
  4. run echo 'node ready.js/bin/ready.js ready.conf.js' >> .git/hooks/pre-commit

Then, every time you commit, ready.js will be run.

How to watch your javascript files for errors with jslint

run node ready.js/bin/ready.watch.js ready.conf.js

Want to know more?

About

continuous javascript integration using JSLint, Google Compiler and Node.js

Resources

Stars

Watchers

Forks

Packages

No packages published