mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
add .exe suffix to binaryOption and lzma tools on Windows
This commit is contained in:
parent
62570109f2
commit
98fbb2db87
@ -229,7 +229,7 @@ publishing {
|
||||
|
||||
def publishBinSuffix = currentPlatform == "windows" ? "exe" : "bin"
|
||||
def binSuffix = currentPlatform == "windows" ? ".exe" : ""
|
||||
artifact("${buildDir}/${currentPlatform}-${currentArch}/binaryToObject/binaryToObject") {
|
||||
artifact("${buildDir}/${currentPlatform}-${currentArch}/binaryToObject/binaryToObject${binSuffix}") {
|
||||
name "binaryToObject"
|
||||
type publishBinSuffix
|
||||
extension binSuffix
|
||||
@ -270,7 +270,7 @@ publishing {
|
||||
extension "a"
|
||||
}
|
||||
|
||||
artifact("${nativeBuildDir}/lzma/lzma") {
|
||||
artifact("${nativeBuildDir}/lzma/lzma${binSuffix}") {
|
||||
name "lzma"
|
||||
type publishBinSuffix
|
||||
extension binSuffix
|
||||
|
Loading…
Reference in New Issue
Block a user