mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Try to improve a couple of cleanup scripts
This commit is contained in:
parent
da03fc5db8
commit
27d2f1e8cb
@ -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',
|
||||
|
||||
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user