Skip to content

Commit 15e3d30

Browse files
committed
Check for the right version of IJulia
1 parent febe637 commit 15e3d30

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

deps/build.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ function main()
3131
end
3232

3333
if isa(Pkg.installed("IJulia"), VersionNumber)
34+
if Pkg.installed("IJulia") < v"1.3.3"
35+
info("This version of Interact requires IJulia version >= v1.3.3.")
36+
info("Attempting to update IJulia now.")
37+
try
38+
Pkg.update("IJulia")
39+
catch err
40+
# ask for help on 0.4
41+
warn("Failed to update IJulia. Run Pkg.update(\"IJulia\") manually.")
42+
end
43+
end
3444
using IJulia
3545
main()
3646
else

0 commit comments

Comments
 (0)