Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/wizard/deploy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,16 @@ function print_build_tarballs(io::IO, state::WizardState)
else
platforms_string = """
[
$(strip(join(repr.(state.platforms),",\n ")))
"""
for platform in state.platforms
rp = repr(platform)
if platform in state.failed_platforms
platforms_string *= "# $rp,\n"
else
platforms_string *= " $rp,\n"
end
end
platforms_string *= """
]
"""
end
Expand Down
9 changes: 4 additions & 5 deletions src/wizard/interactive_build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -863,20 +863,19 @@ function step6(state::WizardState)
println(state.outs)

if choice == 1
filter!(p->!(p in state.failed_platforms), state.platforms)
state.step = :step7
elseif choice == 2
plats = collect(state.failed_platforms)
if length(plats) > 1
choice = request(terminal,
plat_choice = request(terminal,
"Which platform would you like to revisit?",
RadioMenu(map(repr, plats); charset=:ascii))
println(state.outs)
else
choice = 1
plat_choice = 1
end
if step5_internal(state, plats[choice])
delete!(state.failed_platforms, plats[choice])
if step5_internal(state, plats[plat_choice])
delete!(state.failed_platforms, plats[plat_choice])
end
# Will wrap back around to step 6
elseif choice == 3
Expand Down