Merge pull request #862 from murgatroid99/interop_setup_scripts

Add scripts for setting up interop clients and servers
This commit is contained in:
Michael Lumish 2019-05-10 09:30:13 -07:00 committed by GitHub
commit 879135c1d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View File

@ -38,6 +38,8 @@ const setup = gulp.series(installAll, link);
const setupWindows = gulp.series(installAllWindows, link);
const setupPureJSInterop = gulp.parallel(jsCore.install, protobuf.install, internalTest.install);
const clean = gulp.parallel(jsCore.clean, nativeCore.clean, protobuf.clean);
const cleanAll = gulp.parallel(jsCore.cleanAll, nativeCore.cleanAll, healthCheck.cleanAll, internalTest.cleanAll, protobuf.cleanAll);

18
setup_interop.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
# Copyright 2019 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
npm install -g node-gyp gulp
npm install
gulp setup

18
setup_interop_purejs.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
# Copyright 2019 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
npm install -g gulp
npm install
gulp setupPureJSInterop