mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
Generate IDE run configs on a per config basis. Allows for much finer grain control over what run configs are generated.
Defaults to generate all run configs on the root project.
This commit is contained in:
@@ -64,6 +64,10 @@ public class GenVsCodeProjectTask extends AbstractLoomTask {
|
||||
VsCodeLaunch launch = new VsCodeLaunch();
|
||||
|
||||
for (RunConfigSettings settings : getExtension().getRunConfigs()) {
|
||||
if (!settings.shouldGenerateIDEConfig()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
launch.add(RunConfig.runConfig(project, settings));
|
||||
settings.makeRunDir();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user