From 00ff2c909ecb573aaac298951ec81b6e9f083edb Mon Sep 17 00:00:00 2001 From: Kelvin Jin Date: Thu, 26 Oct 2017 14:42:02 -0700 Subject: [PATCH] run install in grpc-surface --- gulpfile.js | 4 ++-- packages/grpc-surface/gulpfile.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index d18b3749..53ee240a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -34,10 +34,10 @@ require('./test/gulpfile'); const root = __dirname; gulp.task('install.all', 'Install dependencies for all subdirectory packages', - ['js.core.install', 'native.core.install', 'health-check.install', 'internal.test.install']); + ['js.core.install', 'native.core.install', 'surface.install', 'health-check.install', 'internal.test.install']); gulp.task('install.all.windows', 'Install dependencies for all subdirectory packages for MS Windows', - ['js.core.install', 'native.core.install.windows', 'health-check.install', 'internal.test.install']); + ['js.core.install', 'native.core.install.windows', 'surface.install', 'health-check.install', 'internal.test.install']); gulp.task('lint', 'Emit linting errors in source and test files', ['js.core.lint', 'native.core.lint']); diff --git a/packages/grpc-surface/gulpfile.js b/packages/grpc-surface/gulpfile.js index 88488fd7..5dfde684 100644 --- a/packages/grpc-surface/gulpfile.js +++ b/packages/grpc-surface/gulpfile.js @@ -25,4 +25,6 @@ const execa = require('execa'); const surfaceDir = __dirname; -// more to come +gulp.task('surface.install', 'Install surface dependencies', () => { + return execa('npm', ['install', '--unsafe-perm'], {cwd: surfaceDir, stdio: 'inherit'}); +});