Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (17 sloc) 457 Bytes
load("steal/rhino/steal.js");
steal.plugins('steal/build', 'steal/build/scripts', 'steal/build/styles', 'steal/build/apps', function () {
//check if args
var urls = [];
while (_args.length) {
if (_args[0].indexOf('-') !== 0) {
urls.push(_args.shift());
} else {
break;
}
}
if (urls.length > 1) {
steal.build.apps(urls);
} else {
steal.build(urls[0], _args);
}
});