Skip to content

Commit

Permalink
Add a default expr target (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaomidi authored Aug 27, 2024
1 parent f027a86 commit fe3a882
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")

package(default_visibility = ["//visibility:public"])

licenses(["notice"]) # Apache 2.0

go_library(
name = "expr",
srcs = [
"checked.pb.go",
"eval.pb.go",
"explain.pb.go",
"syntax.pb.go",
"value.pb.go",
],
importpath = "cel.dev/expr",
visibility = ["//visibility:public"],
deps = [
"//proto/cel/expr:google_rpc_status_go_proto",
"@org_golang_google_protobuf//reflect/protoreflect",
"@org_golang_google_protobuf//runtime/protoimpl",
"@org_golang_google_protobuf//types/known/anypb",
"@org_golang_google_protobuf//types/known/durationpb",
"@org_golang_google_protobuf//types/known/emptypb",
"@org_golang_google_protobuf//types/known/structpb",
"@org_golang_google_protobuf//types/known/timestamppb",
],
)

alias(
name = "go_default_library",
actual = ":expr",
visibility = ["//visibility:public"],
)

0 comments on commit fe3a882

Please sign in to comment.