From c975c055bd2e5d6c7613defa3737b2d48dfa7fcf Mon Sep 17 00:00:00 2001 From: Tetsuharu OHZEKI Date: Mon, 25 Apr 2016 14:43:40 +0900 Subject: [PATCH] refactor(gulpfile.js): remove dirs --- dist/client/.gitkeep | 0 dist/server/.gitkeep | 0 gulpfile.js | 10 +++++----- 3 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 dist/client/.gitkeep delete mode 100644 dist/server/.gitkeep diff --git a/dist/client/.gitkeep b/dist/client/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/dist/server/.gitkeep b/dist/server/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/gulpfile.js b/gulpfile.js index 7b6adb46..7617de87 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -87,21 +87,21 @@ const CWD = path.relative(__dirname, ''); // clean up gulp.task('__clean:client:js:obj', function () { - return del(path.join(OBJ_CLIENT, '**', '*.*')); + return del(OBJ_CLIENT); }); gulp.task('__clean:client:js:dist', function () { - return del(path.join(DIST_CLIENT_JS, '**', '*.*')); + return del(DIST_CLIENT_JS); }); gulp.task('__clean:client:css:dist', function () { - return del(path.join(DIST_CLIENT_CSS, '**', '*.*')); + return del(DIST_CLIENT_CSS); }); gulp.task('__clean:server:obj', function () { - return del(path.join(OBJ_SERVER, '**', '*.*')); + return del(OBJ_SERVER); }); gulp.task('__clean:server:dist', function () { - return del(path.join(DIST_SERVER, '**', '*.*')); + return del(DIST_SERVER); }); // make obj/