File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ These StackStorm-specific plugins might be useful in other StackStorm-related re
1616
1717These StackStorm-specific plugins are probably only useful for the st2 repo.
1818- ` api_spec `
19+ - ` macros.py ` (not a plugin - see pants.toml ` [GLOBAL].build_file_prelude_globs ` )
1920- ` sample_conf `
2021- ` schemas `
2122
@@ -32,6 +33,16 @@ This plugin also wires up pants so that the `lint` goal runs additional
3233api spec validation on ` st2common/st2common/openapi.yaml ` with something
3334like ` ./pants lint st2common/st2common/openapi.yaml ` .
3435
36+ ### ` macros.py ` macros
37+
38+ [ Macros] ( https://www.pantsbuild.org/docs/macros ) are a pants feature
39+ that can reduce "boilerplate"/duplication in BUILD files. The functions
40+ defined in ` macros.py ` are available in all the BUILD files, and using
41+ them looks just like using the normal BUILD targets.
42+
43+ For documentation about our macros, please refer to the function docstrings
44+ in the ` macros.py ` file.
45+
3546### ` pack_metadata ` plugin
3647
3748This plugin adds two new targets to pants:
You can’t perform that action at this time.
0 commit comments