GP-5078: Improvements to Ghidra Module directory layout

This commit is contained in:
Ryan Kurtz 2024-10-30 11:46:25 -04:00
parent 73224da27b
commit faf55a8de6
243 changed files with 482 additions and 238 deletions

View file

@ -193,6 +193,11 @@ public class GhidraModuleUtils {
// Update language ant properties file
GhidraModuleUtils.writeAntProperties(project, ghidraLayout);
// Create a README
try (PrintWriter out = new PrintWriter(new File(projectDir, "README.md"))) {
out.println("# " + project.getName());
}
// Refactor/rename the source files, package, and help files
String packageName = project.getName().toLowerCase();
for (ModuleTemplateType moduleTemplateType : moduleTemplateTypes) {