Skip to content

Commit 379f1de

Browse files
committed
Simplify build.swift script
1 parent eedc6c8 commit 379f1de

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Scripts/build.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ guard CommandLine.arguments.count > 1 else {
167167

168168
let rawPlatforms = CommandLine.arguments[1].components(separatedBy: ",")
169169

170-
var isFirstRun = true
171170
for rawPlatform in rawPlatforms {
172171
guard let platform = Platform(rawValue: rawPlatform) else {
173172
print("Received unknown platform type \(rawPlatform)")
@@ -200,5 +199,4 @@ for rawPlatform in rawPlatforms {
200199
xcodeBuildArguments.append("-run-tests-until-failure")
201200

202201
try execute(commandPath: "/usr/bin/xcodebuild", arguments: xcodeBuildArguments)
203-
isFirstRun = false
204202
}

0 commit comments

Comments
 (0)