blob: 0d3c7114592caab59f667acb0133aaaf1c8c5040 [file] [log] [blame]
Serge Bazanskide0330a2020-07-30 20:48:48 +02001load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
2
3go_library(
Serge Bazanski97b5cd72023-07-28 17:14:50 +00004 name = "laserproxy_lib",
Serge Bazanskide0330a2020-07-30 20:48:48 +02005 srcs = [
6 "locker.go",
7 "main.go",
8 "proxy.go",
9 ],
10 importpath = "code.hackerspace.pl/hscloud/hswaw/laserproxy",
11 visibility = ["//visibility:private"],
12 deps = [
Serge Bazanski97b5cd72023-07-28 17:14:50 +000013 "//go/mirko",
14 "//hswaw/laserproxy/tpl",
15 "@com_github_golang_glog//:glog",
Serge Bazanskide0330a2020-07-30 20:48:48 +020016 ],
17)
18
19go_binary(
20 name = "laserproxy",
Serge Bazanski97b5cd72023-07-28 17:14:50 +000021 embed = [":laserproxy_lib"],
Serge Bazanskide0330a2020-07-30 20:48:48 +020022 visibility = ["//visibility:public"],
23)