Try to improve a couple of cleanup scripts

This commit is contained in:
murgatroid99 2017-10-12 15:54:30 -07:00
parent da03fc5db8
commit 27d2f1e8cb
2 changed files with 4 additions and 4 deletions

View File

@ -28,8 +28,8 @@ const del = require('del');
const jsDir = __dirname;
gulp.task('js.clean.links', 'Delete npm links', () => {
del(path.resolve(jsDir, 'node_modules/@grpc/js-core'));
del(path.resolve(jsDir, 'node_modules/@grpc/surface'));
return del([path.resolve(jsDir, 'node_modules/@grpc/js-core'),
path.resolve(jsDir, 'node_modules/@grpc/surface')]);
});
gulp.task('js.clean.all', 'Delete all files created by tasks',

View File

@ -28,8 +28,8 @@ const del = require('del');
const nativeDir = __dirname;
gulp.task('native.clean.links', 'Delete npm links', () => {
del(path.resolve(nativeDir, 'node_modules/@grpc/native-core'));
del(path.resolve(nativeDir, 'node_modules/@grpc/surface'));
return del([path.resolve(nativeDir, 'node_modules/@grpc/native-core'),
path.resolve(nativeDir, 'node_modules/@grpc/surface')]);
});
gulp.task('native.clean.all', 'Delete all files created by tasks',