JSMake
JSMake is a simple Javascript build program with capabilities similar to make.
var message = [];
task('hello', function () {
message.push('Hello');
});
task('world', function () {
message.push('World');
});
task('greet', [ 'hello', 'world' ], function () {
jsmake.Sys.log(message.join(', '));
});
task('default', 'greet');
JSMake has the following benefits:
- Let you write build script in Javascript, the most widely used scripting language
- It is a general purpose build tool, not specific for building Javascript projects
- It's cross platform, supporting both Windows and *nix environment
- It's very lightweight, it's meant to be included directly in your project repository so you don't have to do exotic setup just to build your project
- It only require Java to run, and should work anywhere Java works
- Thanks to Rhino, you get interactive debugging of your build script without installing anything else, just run jsmaked instead of jsmake (more info)
- You can include external JS libraries like JSLint, Underscore.js, XRegExp, ... and use it to develop your build script
- You can easly use any Java class or library, thanks to Rhino interoperability
Documentation
Project Wiki contains all available documentation
Download
Release archive on GitHub
Source Code
GitHub repository
License
See LICENSE file included with sources