Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHatherly committed Apr 5, 2024
1 parent a82ee15 commit 029a826
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/code_stripping.jl
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,18 @@ function _process_multiplexer(multiplexer::String, julia_version::VersionNumber)
if multiplexer == "juliaup"
return `julia +$(julia_version)`
elseif multiplexer == "asdf"
return readchomp(@show `asdf which julia $(julia_version)`)
else
return withenv("ASDF_JULIA_VERSION" => "$(julia_version)") do
path = readchomp(`asdf which julia`)
return `$(path)`
end
elseif multiplexer == "mise"
return withenv("MISE_JULIA_VERSION" => "$(julia_version)") do
path = readchomp(`mise which julia`)
return `$(path)`
end
elseif multiplexer == ""
return Base.julia_cmd()
else
error("Unsupported multiplexer: $multiplexer")
end
end

0 comments on commit 029a826

Please sign in to comment.