load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") | |
go_library( | |
name = "laserproxy_lib", | |
srcs = [ | |
"locker.go", | |
"main.go", | |
"proxy.go", | |
], | |
importpath = "code.hackerspace.pl/hscloud/hswaw/laserproxy", | |
visibility = ["//visibility:private"], | |
deps = [ | |
"//go/mirko", | |
"//hswaw/laserproxy/tpl", | |
"@com_github_golang_glog//:glog", | |
], | |
) | |
go_binary( | |
name = "laserproxy", | |
embed = [":laserproxy_lib"], | |
visibility = ["//visibility:public"], | |
) |