forked from FirebaseExtended/protobuf-rules-gen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
32 lines (31 loc) · 1008 Bytes
/
BUILD
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
filegroup(
name = "testdata",
srcs = glob([
"testdata/*.proto",
"testdata/*.rules",
]),
)
py_test(
name = "integration_test",
size = "small",
srcs = ["integration_test.py"],
args = [
"$(location //firebase_rules_generator:protoc-gen-firebase_rules)",
"$(location @com_google_protobuf//:protoc)",
"$(location //proto:firebase_rules_options_proto_file)",
"$(location @com_google_protobuf//:descriptor_proto)",
"$(location //example:example.rules)",
"$(location //example/testdata:golden.rules)",
"$(locations :testdata)",
],
data = [
"//example/testdata:golden.rules",
"//example:example.rules",
":testdata",
"//firebase_rules_generator:protoc-gen-firebase_rules",
"//proto:firebase_rules_options_proto_file",
"@com_google_protobuf//:descriptor_proto",
"@com_google_protobuf//:protoc",
"@com_google_protobuf//:timestamp_proto",
],
)