Squashed 'libs/protobuf/' content from commit fcd3b9a85
git-subtree-dir: libs/protobuf git-subtree-split: fcd3b9a85ef36e46643dc30176cea1a7ad62e02b
This commit is contained in:
17
ruby/compatibility_tests/v3.0.0/test.sh
Executable file
17
ruby/compatibility_tests/v3.0.0/test.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
# Change to the script's directory
|
||||
cd $(dirname $0)
|
||||
|
||||
# Download 3.0.0 version of protoc
|
||||
PROTOC_BINARY_NAME="protoc-3.0.0-linux-x86_64.exe"
|
||||
if [ `uname` = "Darwin" ]; then
|
||||
PROTOC_BINARY_NAME="protoc-3.0.0-osx-x86_64.exe"
|
||||
fi
|
||||
wget https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.0.0/${PROTOC_BINARY_NAME} -O protoc
|
||||
chmod +x protoc
|
||||
|
||||
# Run tests
|
||||
RUBYLIB=../../lib:. rake test
|
||||
Reference in New Issue
Block a user