fix(ghidra): isolate optional nativeaot script sources

This commit is contained in:
morluto
2026-10-11 09:35:22 +08:00
parent 044aa34ce6
commit 3df67c640a
6 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ const classes = await mkdtemp(join(output, "classes-"));
try { try {
const sources = [ const sources = [
...(await files(join(source, "src/main/java"), ".java")), ...(await files(join(source, "src/main/java"), ".java")),
...(await files(join(root, "bridge/ghidra/extensions/nativeaot"), ".java")), ...(await files(join(root, "bridge/nativeaot"), ".java")),
]; ];
const jars = await files(join(install, "Ghidra"), ".jar"); const jars = await files(join(install, "Ghidra"), ".jar");
const args = [ const args = [
+1 -1
View File
@@ -214,7 +214,7 @@ export const SCOPES = {
"src/artifacts/readStableArtifact.ts", "src/artifacts/readStableArtifact.ts",
], ],
nativeaot: [ nativeaot: [
"bridge/ghidra/extensions/nativeaot/**", "bridge/nativeaot/**",
"scripts/generate-nativeaot-fixtures.mjs", "scripts/generate-nativeaot-fixtures.mjs",
"tests/fixtures/nativeaot/**", "tests/fixtures/nativeaot/**",
".github/workflows/nativeaot-fixtures.yml", ".github/workflows/nativeaot-fixtures.yml",