From 8f74abcd2d9eaf6ed35ef783346463fc4f1de73f Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Fri, 26 Apr 2019 14:54:44 -0700 Subject: [PATCH 1/3] Add script to run build tests of examples --- src/objective-c/tests/examples_build_test.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 src/objective-c/tests/examples_build_test.sh diff --git a/src/objective-c/tests/examples_build_test.sh b/src/objective-c/tests/examples_build_test.sh new file mode 100755 index 00000000000..7bf4d67d019 --- /dev/null +++ b/src/objective-c/tests/examples_build_test.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +set -ex + +SCHEME=HelloWorld EXAMPLE_PATH=examples/objective-c/helloworld ./build_one_example.sh +SCHEME=RouteGuideClient EXAMPLE_PATH=examples/objective-c/route_guide ./build_one_example.sh +SCHEME=AuthSample EXAMPLE_PATH=examples/objective-c/auth_sample ./build_one_example.sh From fce831a694056022275800bed5a9cc9a33b9f488 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Fri, 14 Jun 2019 08:20:48 -0700 Subject: [PATCH 2/3] Add copyright and comment --- src/objective-c/tests/examples_build_test.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/objective-c/tests/examples_build_test.sh b/src/objective-c/tests/examples_build_test.sh index 7bf4d67d019..047106d8bd2 100755 --- a/src/objective-c/tests/examples_build_test.sh +++ b/src/objective-c/tests/examples_build_test.sh @@ -1,4 +1,19 @@ #!/bin/bash +# Copyright 2015 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. + +# This script is used after a release to verify the released pods are working appropriately set -ex From 799ffbbd019ee48f8ecd96649c67850f9fc2595f Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Fri, 14 Jun 2019 12:25:45 -0700 Subject: [PATCH 3/3] Update license --- src/objective-c/tests/examples_build_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objective-c/tests/examples_build_test.sh b/src/objective-c/tests/examples_build_test.sh index 047106d8bd2..92ebaacc82c 100755 --- a/src/objective-c/tests/examples_build_test.sh +++ b/src/objective-c/tests/examples_build_test.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2015 gRPC authors. +# 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.