You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I do this enough that I've just added the following to my juliarc.
using FilePaths
function Base.Pkg.add(path::AbstractPath)
extension(path) =="jl"||throw(ArgumentError("Expected pkg directory to end with '.jl'"))
pkg_name =filename(path)
pkg_dir =Path(Pkg.dir(pkg_name))
Pkg.clone(String(path))
remove(pkg_dir; recursive=true)
symlink(path, pkg_dir)
end
So you can do,
Pkg.add("UTF64", "~/code/UTF64.jl")
edit:
i know you can just keep monkeying around with
~/.julia/v0.5/UTF64
, it just feels a little dirtyThe text was updated successfully, but these errors were encountered: