Enable run of create_spec_repo. (#9798)

This commit is contained in:
Gran authored and GitHub committed 2022-05-12 16:44:06 -07:00
1 parent 53609f8664
commit acbd85de2e
1 file changed
+4 -2
@@ -377,7 +377,8 @@ struct SpecRepoBuilder: ParsableCommand {
let startDate = Date()
var minutes = 0
for pod in specFileDict.depInstallOrder {
var timer: DispatchSourceTimer = {
print("----------\(pod)-----------")
let timer: DispatchSourceTimer = {
let t = DispatchSource.makeTimerSource()
t.schedule(deadline: .now(), repeating: 60)
t.setEventHandler(handler: {
@@ -388,7 +389,6 @@ struct SpecRepoBuilder: ParsableCommand {
}()
timer.resume()
var podExitCode: Int32 = 0
print("----------\(pod)-----------")
switch pod {
case "Firebase":
podExitCode = pushPodspec(
@@ -420,3 +420,5 @@ struct SpecRepoBuilder: ParsableCommand {
}
}
}
SpecRepoBuilder.main()