From 8f26f4b3ef49b023ea0a27216a50653310e45510 Mon Sep 17 00:00:00 2001 From: Ramon Henrique Ornelas Date: Sun, 2 Oct 2016 19:19:24 -0300 Subject: [PATCH] chore(): move templates of the root folder to scripts/templates similar to Ionic (#612) --- gulpfile.js | 2 +- TEMPLATE-MIN => scripts/templates/wrap-min.tmpl | 0 TEMPLATE => scripts/templates/wrap.tmpl | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename TEMPLATE-MIN => scripts/templates/wrap-min.tmpl (100%) rename TEMPLATE => scripts/templates/wrap.tmpl (100%) diff --git a/gulpfile.js b/gulpfile.js index 863bcfbf5..8994b78a3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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')) diff --git a/TEMPLATE-MIN b/scripts/templates/wrap-min.tmpl similarity index 100% rename from TEMPLATE-MIN rename to scripts/templates/wrap-min.tmpl diff --git a/TEMPLATE b/scripts/templates/wrap.tmpl similarity index 100% rename from TEMPLATE rename to scripts/templates/wrap.tmpl