mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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 publishBinSuffix = currentPlatform == "windows" ? "exe" : "bin"
|
||||||
def binSuffix = currentPlatform == "windows" ? ".exe" : ""
|
def binSuffix = currentPlatform == "windows" ? ".exe" : ""
|
||||||
artifact("${buildDir}/${currentPlatform}-${currentArch}/binaryToObject/binaryToObject") {
|
artifact("${buildDir}/${currentPlatform}-${currentArch}/binaryToObject/binaryToObject${binSuffix}") {
|
||||||
name "binaryToObject"
|
name "binaryToObject"
|
||||||
type publishBinSuffix
|
type publishBinSuffix
|
||||||
extension binSuffix
|
extension binSuffix
|
||||||
@ -270,7 +270,7 @@ publishing {
|
|||||||
extension "a"
|
extension "a"
|
||||||
}
|
}
|
||||||
|
|
||||||
artifact("${nativeBuildDir}/lzma/lzma") {
|
artifact("${nativeBuildDir}/lzma/lzma${binSuffix}") {
|
||||||
name "lzma"
|
name "lzma"
|
||||||
type publishBinSuffix
|
type publishBinSuffix
|
||||||
extension binSuffix
|
extension binSuffix
|
||||||
|
Loading…
Reference in New Issue
Block a user