-
Notifications
You must be signed in to change notification settings - Fork 688
/
Copy pathBUILD.bazel
60 lines (52 loc) · 1.64 KB
/
BUILD.bazel
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package(default_visibility = ["//visibility:public"])
load("//codelab-elements/tools:defs.bzl", "concat")
licenses(["notice"])
exports_files(["README.md"])
filegroup(
name = "all_files",
srcs = [
":codelab_elements_js",
":codelab_elements_css",
":codelab_index_js",
":codelab_index_css",
],
)
genrule(
name = "codelab_elements_js",
outs = ["codelab-elements.js"],
srcs = [
"//codelab-elements/google-codelab-analytics:google_codelab_analytics_bin",
"//codelab-elements/google-codelab:google_codelab_bin",
"//codelab-elements/google-codelab-about:google_codelab_about_bin",
"//codelab-elements/google-codelab-step:google_codelab_step_bin",
"//codelab-elements/google-codelab-survey:google_codelab_survey_bin",
],
cmd = concat("js"),
)
genrule(
name = "codelab_elements_css",
outs = ["codelab-elements.css"],
srcs = [
"//codelab-elements/google-codelab:google_codelab_scss_bin",
"//codelab-elements/google-codelab-about:google_codelab_about_scss_bin",
"//codelab-elements/google-codelab-step:google_codelab_step_scss_bin",
"//codelab-elements/google-codelab-survey:google_codelab_survey_scss_bin",
],
cmd = concat("css"),
)
genrule(
name = "codelab_index_js",
outs = ["codelab-index.js"],
srcs = [
"//codelab-elements/google-codelab-index:google_codelab_index_bin",
],
cmd = concat("js"),
)
genrule(
name = "codelab_index_css",
outs = ["codelab-index.css"],
srcs = [
"//codelab-elements/google-codelab-index:google_codelab_index_scss_bin",
],
cmd = concat("css"),
)