From a8bc7aa48f7f71e1babc767c54e5a7bd290383f7 Mon Sep 17 00:00:00 2001 From: Edouard Coissy Date: Fri, 16 Jan 2015 14:21:55 +0100 Subject: [PATCH] chore(gulpfile): add build/clean.docs task --- gulpfile.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index f3f33d7e3f..a041a85dce 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -72,7 +72,8 @@ var CONFIG = { all: 'dist/cjs', tools: 'dist/cjs/tools', e2eTest: 'dist/cjs/e2e_test' - } + }, + docs: 'dist/docs' }, srcFolderMapping: { 'default': 'lib', @@ -181,6 +182,10 @@ gulp.task('build/clean.cjs', clean(gulp, gulpPlugins, { path: CONFIG.dest.cjs.all })); +gulp.task('build/clean.docs', clean(gulp, gulpPlugins, { + path: CONFIG.dest.docs +})); + // ------------ // deps @@ -422,6 +427,6 @@ gulp.task('build.cjs', function() { gulp.task('build.js', ['build.js.dev', 'build.js.prod']); -gulp.task('clean', ['build/clean.js', 'build/clean.dart', 'build/clean.cjs']); +gulp.task('clean', ['build/clean.js', 'build/clean.dart', 'build/clean.cjs', 'build/clean.docs']); gulp.task('build', ['build.js', 'build.dart', 'build.cjs']);