Skip to content

Commit 2179c2a

Browse files
authored
Fix missing registration for environments rules in pants.core. (#20444)
Fixes (hopefully) pantsbuild/pantsbuild.org#133 Not sure how the `docs/reference/help-all.json` is updated in the docs repo, but locally updating it and generating the references docs I got this diff with this change: ``` ❯ git diff docs/reference/subsystems/environments-preview.mdx diff --git a/docs/reference/subsystems/environments-preview.mdx b/docs/reference/subsystems/environments-preview.mdx index 8231798..c538672 100644 --- a/docs/reference/subsystems/environments-preview.mdx +++ b/docs/reference/subsystems/environments-preview.mdx @@ -11,7 +11,7 @@ import styles from "@site/src/components/reference/styles.module.css"; A highly experimental subsystem to allow setting environment variables and executable search paths for different environments, e.g. macOS vs. Linux. -Backend: <span className="color--primary">``</span> +Backend: <span className="color--primary">`pants.core`</span> Config section: <span className="color--primary">`[environments-preview]`</span> ``` Technically, this is a bug fix, but in practice it only affects docs/help data.
1 parent 0df46bf commit 2179c2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/python/pants/core/register.py

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
adhoc_binaries,
4545
archive,
4646
config_files,
47+
environments,
4748
external_tool,
4849
source_files,
4950
stripped_source_files,
@@ -90,6 +91,7 @@ def rules():
9091
*anonymous_telemetry.rules(),
9192
*archive.rules(),
9293
*config_files.rules(),
94+
*environments.rules(),
9395
*external_tool.rules(),
9496
*git.rules(),
9597
*source_files.rules(),

0 commit comments

Comments
 (0)