Skip to content

Commit 5194b7e

Browse files
committed
Update executable targets
1 parent 5b6ec8a commit 5194b7e

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

Sources/swift-build/main.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@
1010

1111
import Commands
1212

13-
let tool = SwiftBuildTool(args: Array(CommandLine.arguments.dropFirst()))
14-
tool.run()
13+
SwiftBuildTool.main()

Sources/swift-package/main.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@
1010

1111
import Commands
1212

13-
let tool = SwiftPackageTool(args: Array(CommandLine.arguments.dropFirst()))
14-
tool.run()
13+
SwiftPackageTool.main()

Sources/swift-run/main.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@
1010

1111
import Commands
1212

13-
let tool = SwiftRunTool(args: Array(CommandLine.arguments.dropFirst()))
14-
tool.run()
13+
SwiftRunTool.main()

Sources/swift-test/main.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@
1010

1111
import Commands
1212

13-
let tool = SwiftTestTool(args: Array(CommandLine.arguments.dropFirst()))
14-
tool.run()
13+
SwiftTestTool.main()

0 commit comments

Comments
 (0)