-
Notifications
You must be signed in to change notification settings - Fork 234
/
BUILD.bazel
55 lines (52 loc) · 1.32 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
55
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",
"@org_golang_x_crypto//sha3: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",
],
)