forked from protocolbuffers/protobuf-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
29 lines (27 loc) · 799 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
# Protobuf JS runtime
#
# See also code generation logic under compiler/
load("@rules_pkg//:mappings.bzl", "pkg_files", "strip_prefix")
pkg_files(
name = "dist_files",
srcs = glob([
"*.js",
"*.json",
"*.proto",
"binary/*.js",
"commonjs/*.js*", # js, json
"commonjs/**/*.proto",
"compatibility_tests/v3.0.0/**/*.js*",
"compatibility_tests/v3.0.0/**/*.proto",
"compatibility_tests/v3.0.0/**/*.sh",
"compatibility_tests/v3.1.0/**/*.js*",
"compatibility_tests/v3.1.0/**/*.proto",
"experimental/benchmarks/**/*.js",
"experimental/runtime/**/*.js",
]) + [
"BUILD",
"README.md",
],
strip_prefix = strip_prefix.from_root(""),
visibility = ["//pkg:__pkg__"],
)