You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Purpose: Indicates which erlang application contains a given module, irrespective of `moduleindex.yaml`
104
+
105
+
-`erlang_exclude_when_rule_of_kind_exists`
106
+
107
+
Purpose: Tells the erlang extension for gazelle to skip rule generation for a given directory, if a BUILD file already exists and contains a rule of this type
Purpose: Tells the erlang extension to generate `app.bzl` and define all of the rules for compiling beam files within it. This allows for a much more compact BUILD file
114
+
115
+
-`erlang_generate_fewer_bytecode_rules`
116
+
117
+
Purpose: Tells the erlang extension to generate rules that compile byte code in up to 3 phases (parse transforms, behaviours, the rest) instead of generating a rule per beam file (the default). This can provide a speed boost for some projects, such as rabbitmq-server, which is an umbrella project with many sources and applications.
118
+
119
+
-`erlang_always_generate_test_beam_files`
120
+
121
+
Purpose: Tells the erlang extention to generate the rules that compile source for test, even if the application contains no test suites
Purpose: Tells the erlang extension not to generate rules of these types
129
+
130
+
-`erlang_apps_dirs`
131
+
132
+
Example: `# gazelle:erlang_apps_dirs deps`
133
+
134
+
Purpose: Tells the erlang extension too look in additional directories within the project in addition to `apps` for local applications. Only useful for umbrella repos.
135
+
136
+
-`erlang_app_testonly`
137
+
138
+
Purpose: Sets `testonly = True` on the rules generated. Useful for marking a test dependency as something that should not be shipped.
139
+
140
+
-`erlang_app_dep`
141
+
142
+
Purpose: An erlang application name to add as a depencency, in addition to the detected deps
143
+
144
+
-`erlang_app_dep_ignore`
145
+
146
+
Purpose: Ignores a detected dependency entirely, both for compilation and runtime
0 commit comments