chore: sync tinkering updates

This commit is contained in:
41666 2020-10-06 13:25:16 -04:00
parent 4cef998233
commit 0002cefd7f
13 changed files with 628 additions and 121 deletions

View file

@ -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

View file

@ -4,4 +4,4 @@ package hacknotused
func noop() {
}
}