forked from aspect-build/rules_js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBUILD.bazel
85 lines (71 loc) · 1.98 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
load("@aspect_bazel_lib//lib:docs.bzl", "stardoc_with_diff_test", "update_docs")
stardoc_with_diff_test(
name = "js_binary",
bzl_library_target = "//js/private:js_binary",
)
stardoc_with_diff_test(
name = "js_library",
bzl_library_target = "//js/private:js_library",
)
stardoc_with_diff_test(
name = "js_run_binary",
bzl_library_target = "//js/private:js_run_binary",
)
stardoc_with_diff_test(
name = "js_run_devserver",
bzl_library_target = "//js/private:js_run_devserver",
symbol_names = ["js_run_devserver"],
)
stardoc_with_diff_test(
name = "js_info_files",
bzl_library_target = "//js/private:js_info_files",
)
stardoc_with_diff_test(
name = "js_image_layer",
bzl_library_target = "//js/private:js_image_layer",
)
stardoc_with_diff_test(
name = "npm_package",
bzl_library_target = "//npm/private:npm_package",
)
stardoc_with_diff_test(
name = "npm_link_package",
bzl_library_target = "//npm/private:npm_link_package",
)
stardoc_with_diff_test(
name = "npm_link_all_packages",
bzl_library_target = "//npm/private:npm_translate_lock_generate.docs",
)
stardoc_with_diff_test(
name = "npm_import",
bzl_library_target = "//npm/private:npm_import",
symbol_names = [
"npm_import",
],
)
stardoc_with_diff_test(
name = "npm_translate_lock",
bzl_library_target = "//npm/private:npm_translate_lock",
symbol_names = [
"list_patches",
"npm_translate_lock",
],
)
update_docs(
name = "update",
)
# Demonstration delivery target for Aspect Workflows.
# In the future this could be wired up to push to a demonstration S3 bucket.
sh_binary(
name = "docs_delivery_only_on_change",
srcs = ["delivery.sh"],
data = glob(["*.md"]),
tags = ["deliverable"],
)
# Demonstration delivery target for Aspect Workflows.
# In the future this could be wired up to push to a demonstration S3 bucket.
sh_binary(
name = "docs_delivery",
srcs = ["delivery.sh"],
data = glob(["*.md"]),
)