Skip to content

Commit

Permalink
don't call Pkg.update in build
Browse files Browse the repository at this point in the history
  • Loading branch information
shashi committed Dec 28, 2016
1 parent 9641907 commit 4556606
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions deps/build.jl
Expand Up @@ -32,14 +32,7 @@ end

if isa(Pkg.installed("IJulia"), VersionNumber)
if Pkg.installed("IJulia") < v"1.3.3"
info("This version of Interact requires IJulia version >= v1.3.3.")
info("Attempting to update IJulia now.")
try
Pkg.update("IJulia")
catch err
# ask for help on 0.4
warn("Failed to update IJulia. Run Pkg.update(\"IJulia\") manually.")
end
warn("This version of Interact requires IJulia version >= v1.3.3. Run Pkg.update(\"IJulia\") to get it.")
end
using IJulia
main()
Expand Down

1 comment on commit 4556606

@JobJob
Copy link
Member

@JobJob JobJob commented on 4556606 Dec 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good shit :)

Please sign in to comment.