Skip to content

Commit

Permalink
what about simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrence-forooghian committed Aug 2, 2024
1 parent c536c98 commit 91409ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ let package = Package(
name: "AblyChatTests",
dependencies: ["AblyChat"]
),
.executableTarget(name: "BuildTool", dependencies: [.product(name: "ArgumentParser", package: "swift-argument-parser")], swiftSettings: [.enableExperimentalFeature("StrictConcurrency")]),
.executableTarget(name: "BuildTool", dependencies: [], swiftSettings: [.enableExperimentalFeature("StrictConcurrency")]),
]
)
14 changes: 1 addition & 13 deletions Sources/BuildTool/BuildTool.swift
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
import ArgumentParser
import Foundation

// TODO: Is there a better way to make sure that this script has access to macOS APIs that are more recent than the package’s deployment target?
/*@available(macOS 14, *)*/
@main
struct BuildTool: ParsableCommand {
@Option var platform: String

@Option var swiftVersion: Int

mutating func run() throws {
print("Here is run")
}
}
print("Here it is")

0 comments on commit 91409ae

Please sign in to comment.