19 lines
488 B
Python
19 lines
488 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
||
|
|
||
|
go_library(
|
||
|
name = "subjhash_lib",
|
||
|
srcs = ["main.go"],
|
||
|
importpath = "git.wntrmute.dev/kyle/goutils/cmd/subjhash",
|
||
|
visibility = ["//visibility:private"],
|
||
|
deps = [
|
||
|
"@ht_sr_git_kisom_goutils//die:go_default_library",
|
||
|
"@ht_sr_git_kisom_goutils//lib:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_binary(
|
||
|
name = "subjhash",
|
||
|
embed = [":subjhash_lib"],
|
||
|
visibility = ["//visibility:public"],
|
||
|
)
|