16 lines
358 B
Python
16 lines
358 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
go_library(
|
|
name = "sprox_lib",
|
|
srcs = ["main.go"],
|
|
importpath = "git.wntrmute.dev/kyle/goutils/cmd/sprox",
|
|
visibility = ["//visibility:private"],
|
|
deps = ["//die"],
|
|
)
|
|
|
|
go_binary(
|
|
name = "sprox",
|
|
embed = [":sprox_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|