mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-14 16:49:10 +00:00
chore: cleanup after gazelle, it's a lil dirty
This commit is contained in:
parent
bb83575308
commit
c40961b1b2
2 changed files with 8 additions and 5 deletions
|
@ -1,4 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd `dirname $(realpath $0)`
|
||||
|
||||
bazel run //:gazelle
|
||||
bazel run //:gazelle -- update-repos -from_file=./go.mod --to_macro=deps.bzl%go_repositories -prune=true
|
||||
bazel run //:gazelle -- update-repos -from_file=./go.mod --to_macro=deps.bzl%go_repositories -prune=true
|
||||
|
||||
echo "Fixing deps.bzl..."
|
||||
head -n2 ../deps.bzl > ../deps.bzl~
|
||||
tail -n+3 ../deps.bzl | sed '/^$/d' >> ../deps.bzl~
|
||||
mv ../deps.bzl~ ../deps.bzl
|
Loading…
Add table
Add a link
Reference in a new issue