-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
35 lines (32 loc) · 1.03 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
load("@gazelle//:def.bzl", "gazelle")
load("@rules_go//go:def.bzl", "go_binary", "go_library")
gazelle(name = "gazelle")
go_library(
name = "starcm_lib",
srcs = ["main.go"],
importpath = "github.com/discentem/starcm",
visibility = ["//visibility:private"],
deps = [
"//functions/download",
"//functions/shard",
"//functions/shell",
"//functions/template",
"//functions/write",
"//internal/loading",
"//libraries/logging",
"//libraries/shell",
"//starlark-helpers",
"@com_github_google_deck//:go_default_library",
"@com_github_google_deck//backends/logger:go_default_library",
"@com_github_spf13_afero//:go_default_library",
"@net_starlark_go//starlark:go_default_library",
"@net_starlark_go//starlarkstruct:go_default_library",
"@net_starlark_go//syntax:go_default_library",
],
)
go_binary(
name = "starcm",
embed = [":starcm_lib"],
data = ["examples"],
visibility = ["//visibility:public"],
)