mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-03-23 17:25:28 +08:00
GP-4045: Excluding *.sla.lock files from build
This commit is contained in:
@@ -40,7 +40,8 @@ rootProject.assembleDistribution {
|
||||
|
||||
from ("${p.projectDir}/data") {
|
||||
into { "${zipPath}/data" }
|
||||
exclude 'build.xml' // associated with language modules (dev use only)
|
||||
exclude 'build.xml' // associated with language modules (dev use only)
|
||||
exclude '**/*.sla.lock' // associated with language modules
|
||||
}
|
||||
|
||||
from ("${BIN_REPO}/${getGhidraRelativePath(p)}/data") {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user