Skip to content

Commit 879135c

Browse files
authored
Merge pull request #862 from murgatroid99/interop_setup_scripts
Add scripts for setting up interop clients and servers
2 parents 5e3141b + 1b0f058 commit 879135c

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

gulpfile.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ const setup = gulp.series(installAll, link);
3838

3939
const setupWindows = gulp.series(installAllWindows, link);
4040

41+
const setupPureJSInterop = gulp.parallel(jsCore.install, protobuf.install, internalTest.install);
42+
4143
const clean = gulp.parallel(jsCore.clean, nativeCore.clean, protobuf.clean);
4244

4345
const cleanAll = gulp.parallel(jsCore.cleanAll, nativeCore.cleanAll, healthCheck.cleanAll, internalTest.cleanAll, protobuf.cleanAll);

setup_interop.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/sh
2+
# Copyright 2019 gRPC authors.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
npm install -g node-gyp gulp
17+
npm install
18+
gulp setup

setup_interop_purejs.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/sh
2+
# Copyright 2019 gRPC authors.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
npm install -g gulp
17+
npm install
18+
gulp setupPureJSInterop

0 commit comments

Comments
 (0)