forked from googlecodelabs/tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
31 lines (27 loc) · 658 Bytes
/
BUILD.bazel
File metadata and controls
31 lines (27 loc) · 658 Bytes
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
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
exports_files(["LICENSE"])
genrule(
name = "bundle",
outs = ["bundle.zip"],
srcs = [
"LICENSE",
"//codelab-elements:README.md",
"//codelab-elements:all_files",
"@prettify//:prettify",
"@polyfill//:custom_elements",
"@polyfill//:native_shim",
],
cmd = "zip -j $@ $(SRCS)",
)
genrule(
name = "npm_dist",
outs = ["npm_dist.zip"],
srcs = [
"LICENSE",
"package.json",
"//codelab-elements:README.md",
"//codelab-elements:all_files",
],
cmd = "zip -j $@ $(SRCS)",
)