brunch
Version:
A lightweight approach to building HTML5 applications with emphasis on elegance and simplicity
29 lines (22 loc) • 597 B
JavaScript
// Generated by CoffeeScript 1.6.2
(function() {
'use strict';
var create, initSkeleton, sysPath, watch;
initSkeleton = require('init-skeleton');
sysPath = require('path');
watch = require('./watch');
create = function(skeleton, path) {
if (skeleton == null) {
skeleton = sysPath.join(__dirname, '..', 'skeletons', 'brunch-with-chaplin');
}
if (path == null) {
path = '.';
}
return initSkeleton(skeleton, path);
};
module.exports = {
"new": create,
build: watch.bind(null, false),
watch: watch.bind(null, true)
};
}).call(this);