Sergiusz Bazanski | fb18c99 | 2019-05-01 12:27:03 +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 = [ |
Sergiusz Bazanski | 3976e3c | 2019-05-01 15:27:49 +0200 | [diff] [blame] | 6 | "calc.go", |
Sergiusz Bazanski | fb18c99 | 2019-05-01 12:27:03 +0200 | [diff] [blame] | 7 | "main.go", |
| 8 | "model.go", |
| 9 | "render.go", |
Sergiusz Bazanski | 57ef6b0 | 2019-05-01 14:08:29 +0200 | [diff] [blame] | 10 | "statusz.go", |
Sergiusz Bazanski | fb18c99 | 2019-05-01 12:27:03 +0200 | [diff] [blame] | 11 | ], |
Sergiusz Bazanski | cea71e3 | 2019-07-21 15:30:08 +0200 | [diff] [blame] | 12 | importpath = "code.hackerspace.pl/hscloud/bgpwtf/invoice", |
Sergiusz Bazanski | fb18c99 | 2019-05-01 12:27:03 +0200 | [diff] [blame] | 13 | visibility = ["//visibility:private"], |
| 14 | deps = [ |
Sergiusz Bazanski | 1446e98 | 2019-07-21 16:04:23 +0200 | [diff] [blame] | 15 | "//bgpwtf/invoice/proto:go_default_library", |
| 16 | "//bgpwtf/invoice/templates:go_default_library", |
Sergiusz Bazanski | fb18c99 | 2019-05-01 12:27:03 +0200 | [diff] [blame] | 17 | "//go/mirko:go_default_library", |
Sergiusz Bazanski | 57ef6b0 | 2019-05-01 14:08:29 +0200 | [diff] [blame] | 18 | "//go/statusz:go_default_library", |
Sergiusz Bazanski | fb18c99 | 2019-05-01 12:27:03 +0200 | [diff] [blame] | 19 | "@com_github_golang_glog//:go_default_library", |
| 20 | "@com_github_golang_protobuf//proto:go_default_library", |
| 21 | "@com_github_mattn_go_sqlite3//:go_default_library", |
| 22 | "@com_github_sebastiaanklippert_go_wkhtmltopdf//:go_default_library", |
| 23 | "@org_golang_google_grpc//codes:go_default_library", |
| 24 | "@org_golang_google_grpc//status:go_default_library", |
| 25 | ], |
| 26 | ) |
| 27 | |
| 28 | go_binary( |
| 29 | name = "invoice", |
| 30 | embed = [":go_default_library"], |
| 31 | visibility = ["//visibility:public"], |
| 32 | ) |