mirror of https://github.com/grpc/grpc-node.git
test dir don't need links
This commit is contained in:
parent
afca1967cc
commit
40ce5ec09b
|
|
@ -48,7 +48,7 @@ gulp.task('core.link', 'Add links to core packages without rebuilding',
|
|||
['js.link.add', 'native.link.add']);
|
||||
|
||||
gulp.task('surface.link', 'Link to surface packages',
|
||||
['health-check.link.add', 'internal.test.link.add']);
|
||||
['health-check.link.add']);
|
||||
|
||||
gulp.task('link', 'Link together packages', (callback) => {
|
||||
/* Currently, the target 'surface.link.create' doesn't work properly, and it
|
||||
|
|
|
|||
|
|
@ -29,24 +29,11 @@ const gulp = help(_gulp);
|
|||
const testDir = __dirname;
|
||||
const apiTestDir = path.resolve(testDir, 'api');
|
||||
|
||||
gulp.task('internal.test.clean.links', 'Delete npm links', () => {
|
||||
return del([
|
||||
path.resolve(testDir, 'node_modules/@grpc/js'),
|
||||
path.resolve(testDir, 'node_modules/@grpc/native')
|
||||
]);
|
||||
});
|
||||
|
||||
gulp.task('internal.test.install', 'Install test dependencies', () => {
|
||||
return execa('npm', ['install'], {cwd: testDir, stdio: 'inherit'});
|
||||
});
|
||||
|
||||
gulp.task('internal.test.clean.all', 'Delete all files created by tasks',
|
||||
['internal.test.clean.links']);
|
||||
|
||||
gulp.task('internal.test.link.add', 'Link local copies of dependencies', () => {
|
||||
linkSync(testDir, './node_modules/@grpc/js', '../packages/grpc-js');
|
||||
linkSync(testDir, './node_modules/grpc', '../packages/grpc-native-core');
|
||||
});
|
||||
gulp.task('internal.test.clean.all', 'Delete all files created by tasks', () => {});
|
||||
|
||||
gulp.task('internal.test.test', 'Run API-level tests', () => {
|
||||
// run mocha tests matching a glob with a pre-required fixture,
|
||||
|
|
|
|||
Loading…
Reference in New Issue