Serge Bazanski | de0330a | 2020-07-30 20:48:48 +0200 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| 2 | |
| 3 | go_library( |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 4 | name = "laserproxy_lib", |
Serge Bazanski | de0330a | 2020-07-30 20:48:48 +0200 | [diff] [blame] | 5 | 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 Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 13 | "//go/mirko", |
| 14 | "//hswaw/laserproxy/tpl", |
| 15 | "@com_github_golang_glog//:glog", |
Serge Bazanski | de0330a | 2020-07-30 20:48:48 +0200 | [diff] [blame] | 16 | ], |
| 17 | ) |
| 18 | |
| 19 | go_binary( |
| 20 | name = "laserproxy", |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 21 | embed = [":laserproxy_lib"], |
Serge Bazanski | de0330a | 2020-07-30 20:48:48 +0200 | [diff] [blame] | 22 | visibility = ["//visibility:public"], |
| 23 | ) |