blob: c85bb4d90728aa6585f2036c50643d31e4f82d4e [file] [log] [blame]
Sergiusz Bazanskifb18c992019-05-01 12:27:03 +02001load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
2
3go_library(
4 name = "go_default_library",
5 srcs = [
Sergiusz Bazanski3976e3c2019-05-01 15:27:49 +02006 "calc.go",
Sergiusz Bazanskifb18c992019-05-01 12:27:03 +02007 "main.go",
8 "model.go",
9 "render.go",
Sergiusz Bazanski57ef6b02019-05-01 14:08:29 +020010 "statusz.go",
Sergiusz Bazanskifb18c992019-05-01 12:27:03 +020011 ],
Sergiusz Bazanskicea71e32019-07-21 15:30:08 +020012 importpath = "code.hackerspace.pl/hscloud/bgpwtf/invoice",
Sergiusz Bazanskifb18c992019-05-01 12:27:03 +020013 visibility = ["//visibility:private"],
14 deps = [
Sergiusz Bazanski1446e982019-07-21 16:04:23 +020015 "//bgpwtf/invoice/proto:go_default_library",
16 "//bgpwtf/invoice/templates:go_default_library",
Sergiusz Bazanskifb18c992019-05-01 12:27:03 +020017 "//go/mirko:go_default_library",
Sergiusz Bazanski57ef6b02019-05-01 14:08:29 +020018 "//go/statusz:go_default_library",
Sergiusz Bazanskifb18c992019-05-01 12:27:03 +020019 "@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
28go_binary(
29 name = "invoice",
30 embed = [":go_default_library"],
31 visibility = ["//visibility:public"],
32)