| #!/bin/bash |
| |
| # Copyright 2022 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| set -e |
| |
| # This script is used by infra to validate the package can be built and tests |
| # can pass. |
| # TODO(akbiggs): Set up infra. |
| |
| readonly REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/.. |
| readonly BAZELISK_TOOL="${REPO_ROOT}/third_party/sdk-integration/tools/bazel" |
| |
| main() { |
| "$BAZELISK_TOOL" build --config=fuchsia_x64 //src/examples:examples_repository |
| } |
| |
| main "$@" |