Skip to content

Commit 5237b8e

Browse files
committed
Enhancements to the release build script
Add macOS support for making releases there. Rewrite the release builder script in Swift for better reproducibility and ergonomics. It runs using this command: swift run build-swiftly-release Perform necessary system checks up front so that anyone running the script can make any necessary adjustments so that the release can be built. Print the location of the final release product file at the end for easy of finding the path to copy to the final release destination.
1 parent a7ef9e8 commit 5237b8e

File tree

5 files changed

+404
-70
lines changed

5 files changed

+404
-70
lines changed

Package.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ let package = Package(
6767
],
6868
path: "Tools/generate-docs-reference"
6969
),
70+
.executableTarget(
71+
name: "build-swiftly-release",
72+
dependencies: [
73+
.product(name: "ArgumentParser", package: "swift-argument-parser"),
74+
],
75+
path: "Tools/build-swiftly-release"
76+
),
7077
.target(
7178
name: "LinuxPlatform",
7279
dependencies: [

0 commit comments

Comments
 (0)