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( |
| 4 | name = "go_default_library", |
| 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 = [ |
| 13 | "//go/mirko:go_default_library", |
| 14 | "//hswaw/laserproxy/tpl:go_default_library", |
| 15 | "@com_github_golang_glog//:go_default_library", |
| 16 | ], |
| 17 | ) |
| 18 | |
| 19 | go_binary( |
| 20 | name = "laserproxy", |
| 21 | embed = [":go_default_library"], |
| 22 | visibility = ["//visibility:public"], |
| 23 | ) |