GP-4045: Excluding *.sla.lock files from build

This commit is contained in:
Ryan Kurtz
2026-03-12 07:42:42 -04:00
parent 9f014931c5
commit 39612c559f
3 changed files with 4 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ rootProject.assembleDistribution {
from ("${p.projectDir}/data") {
into { "${zipPath}/data" }
exclude 'build.xml' // associated with language modules (dev use only)
exclude '**/*.sla.lock' // associated with language modules
}
from ("${BIN_REPO}/${getGhidraRelativePath(p)}/data") {

View File

@@ -202,7 +202,7 @@ task cleanSleigh {
group = rootProject.GHIDRA_GROUP
description = "Removes all the compile sleigh language files (*.sla). [gradle/processorProject.gradle]\n"
doLast {
def deleteTree = fileTree(dir: "data/languages", include: "*.sla")
def deleteTree = fileTree(dir: "data/languages", include: ["*.sla", "*.sla.lock"])
deleteTree.each { File file ->
delete file
}

View File

@@ -147,6 +147,7 @@ def Map<String, List<String>> getIpForModule(Project p) {
exclude "buildNatives.gradle"
exclude "**/Misc/Tips.htm"
exclude "**/*.sla"
exclude "**/*.sla.lock"
exclude "**/.gradle/**"
exclude "**/.settings/**"
exclude "**/data/build.xml" // language build file (generated for dev only)