forked from hswaw/hscloud
Sergiusz Bazanski
cea71e3be8
Continued from https://gerrit.hackerspace.pl/c/hscloud/+/71 . Change-Id: I5aef587c7e9a4cec301e3c95530c33914851ad44
18 lines
472 B
Python
18 lines
472 B
Python
load("@io_bazel_rules_go//extras:bindata.bzl", "bindata")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
bindata(
|
|
name = "templates_bindata",
|
|
srcs = glob(["*"]),
|
|
extra_args = ["."],
|
|
package = "templates",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
":templates_bindata", # keep
|
|
],
|
|
importpath = "code.hackerspace.pl/hscloud/bgpwtf/invoice/templates", # keep
|
|
visibility = ["//bgpwtf/invoice:__subpackages__"],
|
|
)
|