2023-05-04 21:00:30 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
load("@bazel_gazelle//:def.bzl", "gazelle")
|
|
|
|
|
|
|
|
# gazelle:prefix git.wntrmute.dev/kyle/goutils
|
|
|
|
gazelle(name = "gazelle")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "goutils",
|
|
|
|
srcs = ["doc.go"],
|
|
|
|
importpath = "git.wntrmute.dev/kyle/goutils",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
2023-05-04 22:11:15 +00:00
|
|
|
|
|
|
|
gazelle(
|
|
|
|
name = "gazelle-update-repos",
|
|
|
|
args = [
|
|
|
|
"-from_file=go.mod",
|
|
|
|
"-to_macro=deps.bzl%go_dependencies",
|
|
|
|
"-prune",
|
|
|
|
],
|
|
|
|
command = "update-repos",
|
|
|
|
)
|