generator-ares
Version:
Scaffold out a ares project
20 lines (18 loc) • 580 B
JavaScript
;
exports.views = function (done) {
this.fetch([
'https://raw.githubusercontent.com/scrat-team/md.js/master/md.js',
'https://raw.githubusercontent.com/scrat-team/pagelet.js/master/pagelet.js',
'https://raw.githubusercontent.com/necolas/normalize.css/master/normalize.css'
], 'views/lib', function (err) {
if (err) return done(err);
done();
});
};
exports.server = function () {
var that = this;
this.directory('server', function (content) {
return that.engine(content, that);
});
this.template('Procfile');
};