gulp-codebot
v0.0.6
Published
Gulp for CodebotJS
Downloads
4
Readme
gulp-codebot
Usage
npm i --save-dev gulp-codebot
var codebot = require('gulp-codebot');
var rootPath = '/path/to';
var modules = [
'/path/from/templates/module1',
'/path/from/templates/module2'
];
// codebot needs the output path to filter non override files
gulp.src('./model.json')
.pipe(codebot({ modules: modules, output: rootPath+'/dist' }))
.pipe(gulp.dest(rootPath));