mirror of
https://github.com/peridotbuild/peridot.git
synced 2024-12-07 11:56:27 +00:00
16 lines
363 B
Bash
Executable File
16 lines
363 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
rm -rf vendor
|
|
go mod tidy -e
|
|
go mod vendor -e
|
|
find vendor -name "BUILD.bazel" -delete
|
|
find vendor -name "BUILD" -delete
|
|
|
|
# if the vendor package has a build/BUILD directory/file, then force BUILD.bazel
|
|
for d in $(find vendor -iname build); do
|
|
echo '' > $(dirname $d)/BUILD.bazel
|
|
done
|
|
|
|
bazel run //:gazelle
|
|
bazel run //:gazelle-update-repos
|