Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tools/bazel_integration_test/update_deleted_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
# For integration tests, we want to be able to glob() up the sources inside a nested package
# See explanation in .bazelrc

set -eux
set -euxo pipefail

DIR="$(dirname $0)/../.."
cd $DIR

# The sed -i.bak pattern is compatible between macos and linux
sed -i.bak "/^[^#].*--deleted_packages/s#=.*#=$(\
find examples/*/* tests/*/* \( -name BUILD -or -name BUILD.bazel \) | xargs -n 1 dirname | paste -sd, -\
Expand Down