Sergiusz Bazanski | fb18c99 | 2019-05-01 12:27:03 +0200 | [diff] [blame] | 1 | load("@io_bazel_rules_go//extras:bindata.bzl", "bindata") |
| 2 | load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| 3 | |
| 4 | bindata( |
| 5 | name = "templates_bindata", |
| 6 | srcs = glob(["*"]), |
| 7 | extra_args = ["."], |
| 8 | package = "templates", |
| 9 | ) |
| 10 | |
| 11 | go_library( |
| 12 | name = "go_default_library", |
| 13 | srcs = [ |
| 14 | ":templates_bindata", # keep |
| 15 | ], |
Sergiusz Bazanski | cea71e3 | 2019-07-21 15:30:08 +0200 | [diff] [blame] | 16 | importpath = "code.hackerspace.pl/hscloud/bgpwtf/invoice/templates", # keep |
| 17 | visibility = ["//bgpwtf/invoice:__subpackages__"], |
Sergiusz Bazanski | fb18c99 | 2019-05-01 12:27:03 +0200 | [diff] [blame] | 18 | ) |