Skip to content

Commit 0b650e5

Browse files
giordanostaticfloat
andcommitted
Trim useless whitespaces in script generated by the wizard (#579)
* Trim useless whitespaces in script generated by the wizard * Fix botched rebase Co-authored-by: Elliot Saba <[email protected]>
1 parent 0520561 commit 0b650e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wizard/deploy.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
function print_build_tarballs(io::IO, state::WizardState)
22
urlhashes = zip(state.source_urls, state.source_hashes)
3-
sources_string = join(map(urlhashes) do x
3+
sources_string = strip(join(map(urlhashes) do x
44
string(repr(x[1])," =>\n ", repr(x[2]), ",\n")
5-
end,"\n ")
5+
end,"\n "))
66
if Set(state.platforms) == Set(supported_platforms())
77
platforms_string = "supported_platforms()"
88
else
99
platforms_string = """
1010
[
11-
$(join(state.platforms,",\n "))
11+
$(strip(join(state.platforms,",\n ")))
1212
]
1313
"""
1414
end
@@ -52,7 +52,7 @@ function print_build_tarballs(io::IO, state::WizardState)
5252
5353
# Bash recipe for building across all platforms
5454
script = raw\"\"\"
55-
$(state.history)
55+
$(strip(state.history))
5656
\"\"\"
5757
5858
# These are the platforms we will build for by default, unless further

0 commit comments

Comments
 (0)