Skip to content

Commit 299a356

Browse files
authored
Allow comma separated packages for ]dev (#3997)
1 parent bc51db7 commit 299a356

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/REPLMode/REPLMode.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Base.@kwdef mutable struct Statement
164164
end
165165

166166
function lex(cmd::String)::Vector{QString}
167-
replace_comma = (nothing!=match(r"^(add|rm|remove|status|precompile)+\s", cmd))
167+
replace_comma = (nothing!=match(r"^(add|dev|develop|rm|remove|status|precompile)+\s", cmd))
168168
in_doublequote = false
169169
in_singlequote = false
170170
qstrings = QString[]

test/repl.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ temp_pkg_dir(;rm=false) do project_path; cd(project_path) do;
122122
mktempdir() do tmp_dev_dir
123123
withenv("JULIA_PKG_DEVDIR" => tmp_dev_dir) do
124124
pkg"develop Example"
125+
pkg"develop Example,PackageCompiler"
126+
pkg"develop Example PackageCompiler"
125127

126128
# Copy the manifest + project and see that we can resolve it in a new environment
127129
# and get all the packages installed

0 commit comments

Comments
 (0)