Last active
May 9, 2019 13:35
-
-
Save johnnychen94/720900fd9e44395beaa0704770c91a36 to your computer and use it in GitHub Desktop.
install master branch of julia package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Pkg.TOML: parsefile | |
using Pkg | |
STDLIBS = Set([ | |
"Base64", | |
"CRC32c", | |
"Dates", | |
"DelimitedFiles", | |
"Distributed", | |
"FileWatching", | |
"Future", | |
"InteractiveUtils", | |
"LibGit2", | |
"Libdl", | |
"LinearAlgebra", | |
"Logging", | |
"Makefile", | |
"Markdown", | |
"Mmap", | |
"Printf", | |
"Profile", | |
"REPL", | |
"Random", | |
"SHA", | |
"Serialization", | |
"SharedArrays", | |
"Sockets", | |
"SparseArrays", | |
"Statistics", | |
"SuiteSparse", | |
"Test", | |
"UUIDs", | |
"Unicode"]) | |
deps = parsefile("Project.toml")["deps"] |> keys |> Set | |
deps = setdiff(deps, STDLIBS) | |
for dep in deps | |
Pkg.add(PackageSpec(name = dep, rev = "master")) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment