blob: f60cd988b03ed461908f61afae3ae73138c91840 [file] [log] [blame]
#!/usr/bin/env 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.
# This script compiles the .proto files and copies the compiled versions
# from the build dir back to the source tree. It should be run whenever
# the .proto files are modified.
set -o errexit
set -o pipefail
# cd to fuchsia checkout root.
cd "$( dirname "${BASH_SOURCE[0]}" )/../../../.."
scripts/fx set core.x64 --with '//tools/integration/fint:tests' --args 'update_goldens=true'
scripts/fx ninja -C out/default 'tools/integration/fint:tests'