File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
2+ # contributing to gazelle\_ rust
3+
4+ Thanks for contributing!
5+
6+ ## Project structure
7+
8+ * ` rust_language ` : golang gazelle language plugin, this is the main entrypoint
9+ * ` rust_parser ` : rust binary invoked by the language plugin to parse imports
10+ * ` proto ` : protobuf API for communication between ` rust_language ` and ` rust_parser `
11+ * ` gazelle_rust_parser ` : core library for parsing rust imports used by ` rust_parser `
12+ * ` macro ` : implementation of ` #[gazelle::foo] ` directives as proc macros
13+
14+ For more information about writing gazelle language plugins, see gazelle's docs on
15+ [ extending gazelle] ( https://github.com/bazel-contrib/bazel-gazelle/blob/master/extend.md ) .
16+
17+ ## Running CI locally
18+
19+ Make sure you're using bazelisk so that you get the correct bazel version.
20+
21+ Run CI with:
22+ ``` bash
23+ ./ci.sh
24+ ```
25+
26+ Note that this is not just ` bazel test //... ` , but also building the ` ./example ` directory and
27+ verifying "gazelle invariance" (i.e. ensuring that running gazelle results in no changes) in both
28+ gazelle\_ rust and ` ./example ` .
29+
30+ ## AI policy
31+
32+ Use of AI tools in contributions is allowed but must be disclosed.
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ run_group() {
1010 shift
1111
1212 echo " ::group::$name "
13+ printf " \n\n====== $name ======\n\n\n"
14+
1315 if " $@ " ; then
1416 echo " ::endgroup::"
1517 else
You can’t perform that action at this time.
0 commit comments