desc("Runs the tests using the built run.js file. Optional arguments are: t[ests]=regex r[eporter]=[list|spec|json|<more>] d[ebug]=true color[s]=false lint=true bail=false dirty=false.");
desc("Runs browserify on run.js to produce a file suitable for running tests in the browser");
task("browserify",[],function(){
// Shell out to `gulp`, since we do the work to handle sourcemaps correctly w/o inline maps there
varcmd='gulp browserify --silent';
exec(cmd);
},{async: true});
desc("Runs the tests using the built run.js file like 'jake runtests'. Syntax is jake runtests-browser. Additional optional parameters tests=[regex], browser=[chrome|IE]");