• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3set -ex
4
5# Change to the script's directory
6cd $(dirname $0)
7
8# Download 3.0.0 version of protoc
9PROTOC_BINARY_NAME="protoc-3.0.0-linux-x86_64.exe"
10if [ `uname` = "Darwin" ]; then
11  PROTOC_BINARY_NAME="protoc-3.0.0-osx-x86_64.exe"
12fi
13wget http://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0/${PROTOC_BINARY_NAME} -O protoc
14chmod +x protoc
15
16# Run tests
17rake test
18