Skip to content

Commit bf63350

Browse files
authored
[wizard] add sort step to products array writing (#1116)
* add sort step to products array writing * update sort method to account for :other symbol used
1 parent 956ebb4 commit bf63350

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wizard/deploy.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function print_build_tarballs(io::IO, state::WizardState)
2929
products_string = "Product[\n]"
3030
else
3131
stuff = collect(zip(state.files, state.file_kinds, state.file_varnames))
32+
sort!(stuff, by = x -> x[2], lt=(x,y)-> (x == :library || y ==:other))
3233
products_string = "[\n " * join(map(stuff) do x
3334
file, kind, varname = x
3435

0 commit comments

Comments
 (0)