summaryrefslogtreecommitdiff
path: root/vendor/github.com/authzed/cel-go/common/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/authzed/cel-go/common/BUILD.bazel')
-rw-r--r--vendor/github.com/authzed/cel-go/common/BUILD.bazel34
1 files changed, 34 insertions, 0 deletions
diff --git a/vendor/github.com/authzed/cel-go/common/BUILD.bazel b/vendor/github.com/authzed/cel-go/common/BUILD.bazel
new file mode 100644
index 0000000..1e10f52
--- /dev/null
+++ b/vendor/github.com/authzed/cel-go/common/BUILD.bazel
@@ -0,0 +1,34 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+
+package(
+ default_visibility = ["//visibility:public"],
+ licenses = ["notice"], # Apache 2.0
+)
+
+go_library(
+ name = "go_default_library",
+ srcs = [
+ "cost.go",
+ "error.go",
+ "errors.go",
+ "location.go",
+ "source.go",
+ ],
+ importpath = "github.com/authzed/cel-go/common",
+ deps = [
+ "//common/runes:go_default_library",
+ "@org_golang_google_genproto_googleapis_api//expr/v1alpha1:go_default_library",
+ ],
+)
+
+go_test(
+ name = "go_default_test",
+ size = "small",
+ srcs = [
+ "errors_test.go",
+ "source_test.go",
+ ],
+ embed = [
+ ":go_default_library",
+ ],
+)