protobuf/kokoro/linux/bazel/build.sh

14 lines
205 B
Bash
Executable File

#!/bin/bash
#
# Build file to set up and run tests
set -ex
# Change to repo root
cd $(dirname $0)/../../..
git submodule update --init --recursive
bazel test :protobuf_test
cd examples
bazel build :all