blob: a17d06434f3122f7175fea727eddb3e8e15e2f97 [file] [edit]
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
# gazelle:prefix github.com/bazelbuild/bazelisk/httputil
gazelle(name = "gazelle")
go_library(
name = "httputil",
srcs = [
"fake.go",
"httputil.go",
],
embedsrcs = ["bazel-release.pub.gpg"],
importpath = "github.com/bazelbuild/bazelisk/httputil",
visibility = ["//visibility:public"],
deps = [
"//config",
"//httputil/progress",
"@com_github_bgentry_go_netrc//netrc",
"@com_github_mitchellh_go_homedir//:go-homedir",
"@org_golang_x_crypto//openpgp:go_default_library",
],
)
go_test(
name = "httputil_test",
srcs = ["httputil_test.go"],
embed = [":httputil"],
)