• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2#
3# Build file to set up and run tests
4set -ex
5
6# Install the latest Bazel version available
7use_bazel.sh latest
8bazel version
9
10# Change to repo root
11cd $(dirname $0)/../../..
12
13git submodule update --init --recursive
14bazel test :protobuf_test --copt=-Werror --host_copt=-Werror
15
16cd examples
17bazel build :all
18