File tree 1 file changed +11
-0
lines changed
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
16
16
17
17
These StackStorm-specific plugins are probably only useful for the st2 repo.
18
18
- ` api_spec `
19
+ - ` macros.py ` (not a plugin - see pants.toml ` [GLOBAL].build_file_prelude_globs ` )
19
20
- ` sample_conf `
20
21
- ` schemas `
21
22
@@ -32,6 +33,16 @@ This plugin also wires up pants so that the `lint` goal runs additional
32
33
api spec validation on ` st2common/st2common/openapi.yaml ` with something
33
34
like ` ./pants lint st2common/st2common/openapi.yaml ` .
34
35
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
+
35
46
### ` pack_metadata ` plugin
36
47
37
48
This plugin adds two new targets to pants:
You can’t perform that action at this time.
0 commit comments