From 9e01aa01235b76beab6f3b23c9ad03f739bcab72 Mon Sep 17 00:00:00 2001 From: Eric Fernandez Date: Thu, 11 Oct 2018 11:58:25 -0300 Subject: [PATCH] agrego tareas --- gulpfile.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 76c615a..25b0980 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -45,7 +45,7 @@ gulp.task('uglify', ['templates'], function() { ); }); -gulp.task('clean', function(){ +gulp.task('clean', function() { return gulp.src(['tmp', 'dist'], {read: false}) .pipe(clean()); }); @@ -60,3 +60,19 @@ gulp.task('pre-commit', function() { ] ); }); + +gulp.task('clean-post-install', function() { + return gulp.src(['src', 'tmp', '.jshintrc','readme.md', '.gitignore', 'gulpfile.js', + 'index.html'], {read: false}) + .pipe(clean()); +}); + +gulp.task('compile', ['templates', 'uglify']); + +gulp.task('webserver', function() { + pump [ + connect.server({port: 3000}) + ] +}); + +gulp.task('default', ['webserver']); \ No newline at end of file -- 1.9.1