protobuf/kokoro/linux/bazel/build.sh
2019-04-16 09:49:23 -07:00

14 lines
240 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 --copt=-Werror --host_copt=-Werror
cd examples
bazel build :all