chore(): move templates of the root folder to scripts/templates similar to Ionic (#612)

This commit is contained in:
Ramon Henrique Ornelas 2016-10-02 19:19:24 -03:00 committed by Ibrahim Hadeed
parent 624bc1d9b5
commit 8f26f4b3ef
3 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ gulp.task('lint', function() {
gulp.task('plugin:create', function(){
if(flags.n && flags.n !== ''){
var src = flags.m?'./TEMPLATE-MIN':'./TEMPLATE';
var src = flags.m?'./scripts/templates/wrap-min.tmpl':'./scripts/templates/wrap.tmpl';
return gulp.src(src)
.pipe(replace('PluginName', flags.n))
.pipe(rename(decamelize(flags.n, '-') + '.ts'))