mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-14 16:49:10 +00:00
chore: sync tinkering updates
This commit is contained in:
parent
4cef998233
commit
0002cefd7f
13 changed files with 628 additions and 121 deletions
|
@ -1,12 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd `dirname $(realpath $0)`
|
||||
cd ..
|
||||
|
||||
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=go_dependencies.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~
|
||||
mv ../deps.bzl~ ../deps.bzl
|
||||
echo "Fixing go_dependencies.bzl..."
|
||||
head -n2 ../go_dependencies.bzl > ../go_dependencies.bzl~
|
||||
tail -n+3 ../go_dependencies.bzl | sed '/^$/d' >> ../go_dependencies.bzl~
|
||||
mv ../go_dependencies.bzl~ ../go_dependencies.bzl
|
|
@ -4,4 +4,4 @@ package hacknotused
|
|||
|
||||
func noop() {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue