#!/usr/bin/env bash

set -o errexit -o nounset -o pipefail

# Use the Bazel binary specified by the integration test. Otherise, fall back 
# to bazel.
bazel="${BIT_BAZEL_BINARY:-bazel}"

# GH249: Do not update build files until the Gazelle extension supports the
# shape of this example.
# # Generate Swift external deps and update build files
# bazel run //:tidy
# "${bazel}" run //:swift_update_pkgs

# Ensure that it builds and tests pass
"${bazel}" test //...
