summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2024-03-26 13:17:08 -0700
committerYifan Hong <elsk@google.com>2024-03-26 13:18:48 -0700
commitf3a3af443a000afc880b6b1c484d2289c9dc698e (patch)
tree366b697df60f8179dc44eef630c739957f496de1
parent620b88df22006c422f09ab48d4816a159cff96e3 (diff)
downloadbuild-f3a3af443a000afc880b6b1c484d2289c9dc698e.tar.gz
kleaf: docs_dist always wipe_dist_dir.
Targets on build bots are turned down. This target will now unconditionally --wipe_dist_dir. Test: TH Bug: 324643611 Change-Id: I95f40d9875873abdc0dda38965ee49483e53ef16
-rw-r--r--kleaf/docs/BUILD.bazel7
-rw-r--r--kleaf/docs/api_reference.md3
2 files changed, 3 insertions, 7 deletions
diff --git a/kleaf/docs/BUILD.bazel b/kleaf/docs/BUILD.bazel
index 9b60097..ac5a77b 100644
--- a/kleaf/docs/BUILD.bazel
+++ b/kleaf/docs/BUILD.bazel
@@ -18,8 +18,7 @@ To update:
```
tools/bazel run //build/kernel/kleaf/docs:docs_dist \\
- --config=bzlmod --config=internet \\
- -- --wipe_dist_dir
+ --config=bzlmod --config=internet
```
"""
@@ -86,7 +85,5 @@ copy_to_dist_dir(
"*": 644,
},
visibility = ["//build/kernel/kleaf:__subpackages__"],
- # TODO(b/324643611): This won't work on build bots. Once target on
- # build bots are turned down, enable this.
- # wipe_dist_dir = True,
+ wipe_dist_dir = True,
)
diff --git a/kleaf/docs/api_reference.md b/kleaf/docs/api_reference.md
index 7adb4f2..ead4919 100644
--- a/kleaf/docs/api_reference.md
+++ b/kleaf/docs/api_reference.md
@@ -30,6 +30,5 @@ or may not work.
```sh
tools/bazel run //build/kernel/kleaf/docs:docs_dist \
- --config=bzlmod --config=internet \
- -- --wipe_dist_dir
+ --config=bzlmod --config=internet
```