23 lines
513 B
Python
23 lines
513 B
Python
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"],
|
|
)
|
|
|
|
gazelle(
|
|
name = "gazelle-update-repos",
|
|
args = [
|
|
"-from_file=go.mod",
|
|
"-to_macro=deps.bzl%go_dependencies",
|
|
"-prune",
|
|
],
|
|
command = "update-repos",
|
|
)
|