forked from google/go-jsonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
54 lines (51 loc) · 1.27 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
load(
"@bazel_gazelle//:def.bzl",
"gazelle",
)
# gazelle:prefix github.com/google/go-jsonnet
gazelle(
name = "gazelle",
)
go_library(
name = "go_default_library",
srcs = [
"builtins.go",
"doc.go",
"error_formatter.go",
"imports.go",
"interpreter.go",
"runtime_error.go",
"thunks.go",
"util.go",
"value.go",
"vm.go",
"yaml.go",
],
importpath = "github.com/google/go-jsonnet",
visibility = ["//visibility:public"],
deps = [
"//ast:go_default_library",
"//astgen:go_default_library",
"//internal/errors:go_default_library",
"//internal/parser:go_default_library",
"//internal/program:go_default_library",
"@io_k8s_sigs_yaml//:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = [
"builtins_benchmark_test.go",
"interpreter_test.go",
"jsonnet_test.go",
"main_test.go",
],
data = glob(["testdata/**"]),
embed = [":go_default_library"],
deps = [
"//ast:go_default_library",
"//internal/parser:go_default_library",
"//internal/testutils:go_default_library",
],
)