Skip to content

Commit

Permalink
add publishbinariesfat target
Browse files Browse the repository at this point in the history
  • Loading branch information
HLWeil committed Jan 25, 2024
1 parent f416507 commit 01783ac
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build/PackageTasks.fs
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,19 @@ let publishBinariesMacARMPrerelease = BuildTask.create "PublishBinariesMacARMPre

let publishBinariesAllPrerelease = BuildTask.createEmpty "PublishBinariesAllPrerelease" [clean; build; setPrereleaseTag; publishBinariesWinPrerelease; publishBinariesLinuxPrerelease; publishBinariesMacPrerelease; publishBinariesMacARMPrerelease]

let publishBinariesFatPrerelease = BuildTask.create "PublishBinariesFatPrerelease" [clean; build; setPrereleaseTag] {
let publishBinariesFatPrerelease = BuildTask.create "PublishBinariesFatPrerelease" [clean; build; setPrereleaseTag; runTests] {
publishBinaryForFat stableVersionTag (Some prereleaseSuffix) RunTime.Win
publishBinaryForFat stableVersionTag (Some prereleaseSuffix) RunTime.Linux
publishBinaryForFat stableVersionTag (Some prereleaseSuffix) RunTime.Mac
publishBinaryForFat stableVersionTag (Some prereleaseSuffix) RunTime.MacARM
}


let publishBinariesFat = BuildTask.create "PublishBinariesFat" [clean; build; runTests] {
publishBinaryForFat stableVersionTag None RunTime.Win
publishBinaryForFat stableVersionTag None RunTime.Linux
publishBinaryForFat stableVersionTag None RunTime.Mac
publishBinaryForFat stableVersionTag None RunTime.MacARM
}

// as of now (july 2022), it seems there is now possibility to run lipo on Windows
//let packMacBinaries = BuildTask.create "PackMacBinaries" [publishBinariesMacBoth] {
Expand Down

0 comments on commit 01783ac

Please sign in to comment.