Skip to content

Commit

Permalink
Make pure ide repo visible to other repos during IDE to better suppor…
Browse files Browse the repository at this point in the history
…t debug
  • Loading branch information
rafaelbey authored Jan 2, 2025
1 parent e3cbb3b commit 81fe4a1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ protected MutableFSCodeStorage build(String path, String module, boolean core)
{
String resourceDir = path + "/src/main/resources/";
String moduleName = core ? "".equals(module) ? "core" : ("core_" + module.replace("-", "_")) : module.replace("-", "_");
GenericCodeRepository repository = GenericCodeRepository.build(Paths.get(resourceDir + moduleName + ".definition.json"));
return new MutableFSCodeStorage(
GenericCodeRepository.build(Paths.get(resourceDir + moduleName + ".definition.json")),
GenericCodeRepository.build(repository.getName(), repository.getAllowedPackagesPattern(), repository.getDependencies().toSet().with("pure_ide")),
Paths.get(resourceDir + moduleName)
);
}
Expand Down

0 comments on commit 81fe4a1

Please sign in to comment.