chore: fix an intermittent gazelle race

This commit is contained in:
41666 2020-09-23 21:13:02 -04:00
parent d5fd11b413
commit 74348afa47
2 changed files with 17 additions and 14 deletions

View file

@ -5,6 +5,7 @@ cd `dirname $(realpath $0)`
bazel run //:gazelle
bazel run //:gazelle -- update-repos -from_file=./go.mod --to_macro=deps.bzl%go_repositories -prune=true
sleep 0.5
echo "Fixing deps.bzl..."
head -n2 ../deps.bzl > ../deps.bzl~
tail -n+3 ../deps.bzl | sed '/^$/d' >> ../deps.bzl~