mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
chore: fix an intermittent gazelle race
This commit is contained in:
parent
d5fd11b413
commit
74348afa47
2 changed files with 17 additions and 14 deletions
|
@ -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~
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
# go_library(
|
||||
# name = "gripkit",
|
||||
# srcs = [
|
||||
# "gripkit.go",
|
||||
# "options.go",
|
||||
# ],
|
||||
# importpath = "github.com/roleypoly/roleypoly/src/gripkit",
|
||||
# visibility = ["//visibility:public"],
|
||||
# deps = [
|
||||
# "@com_github_improbable_eng_grpc_web//go/grpcweb",
|
||||
# "@io_k8s_klog//:klog",
|
||||
# "@org_golang_google_grpc//:go_default_library",
|
||||
# ],
|
||||
# )
|
||||
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||||
|
||||
go_library(
|
||||
name = "gripkit",
|
||||
srcs = [
|
||||
"gripkit.go",
|
||||
"options.go",
|
||||
],
|
||||
importpath = "github.com/roleypoly/roleypoly/src/gripkit",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"@com_github_improbable_eng_grpc_web//go/grpcweb",
|
||||
"@io_k8s_klog//:klog",
|
||||
"@org_golang_google_grpc//:go_default_library",
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue