Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (20 sloc) 0.679 kb
var DEPLOY = __dirname + "/pkg/";
desc("runs build");
task('default', ['build'], function () {});
desc("clean");
task('clean', [], function () {
var childProcess = require('child_process');
var cmd = 'rm -rf ' + DEPLOY + ' && ' +
'mkdir ' + DEPLOY;
childProcess.exec(cmd, complete);
}, true);
desc("compiles the source files for all extensions");
task('build', ['clean'], function () {
var util = require('util'),
fs = require('fs'),
packager = require("./build/packager");
packager.bundle("blackberry");
packager.bundle("ios");
packager.bundle("wp7");
util.puts(fs.readFileSync("build/dalek", "utf-8"));
});
Jump to Line
Something went wrong with that request. Please try again.