blob: b15a8639d96a89acefebb5ea6214ed190f16b53c [file] [log] [blame]
murgatroid996a4c4fa2015-02-27 12:08:57 -08001#!/bin/bash
2
Jan Tattermusch7897ae92017-06-07 22:57:36 +02003# Copyright 2015 gRPC authors.
murgatroid996a4c4fa2015-02-27 12:08:57 -08004#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02005# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
murgatroid996a4c4fa2015-02-27 12:08:57 -08008#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02009# http://www.apache.org/licenses/LICENSE-2.0
murgatroid996a4c4fa2015-02-27 12:08:57 -080010#
Jan Tattermusch7897ae92017-06-07 22:57:36 +020011# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
murgatroid996a4c4fa2015-02-27 12:08:57 -080016
17set -ex
18
Nicolas "Pixel" Noble21a38b42015-07-08 23:29:13 +020019export GRPC_CONFIG=${CONFIG:-opt}
murgatroid996a4c4fa2015-02-27 12:08:57 -080020
Nicolas "Pixel" Noblecbd9c8b2015-05-14 06:22:26 +020021# change to grpc's ruby directory
Mehrdad Afshariba137982017-06-27 12:42:50 -070022cd "$(dirname "$0")/../../.."
murgatroid996a4c4fa2015-02-27 12:08:57 -080023
murgatroid99a43c14f2015-07-30 13:31:23 -070024rm -rf ./tmp
Nicolas "Pixel" Noble3de3f802016-02-02 00:54:30 +010025rake compile