Skip to content

Instantly share code, notes, and snippets.

@svnlto
Created February 9, 2014 15:31
Show Gist options
  • Save svnlto/8900699 to your computer and use it in GitHub Desktop.
Save svnlto/8900699 to your computer and use it in GitHub Desktop.
exports.start = function (config, callback) {
var project_dir = process.cwd();
var cfg = environment.getConfig(
process.platform, // platform
process.env, // environment vars
project_dir, // project directory
[] // command-line arguments
);
exports.init(_.extend(cfg, config));
return callback();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment