mirror of
https://codeberg.org/qwjyh/dotfiles.git
synced 2025-06-26 19:29:20 +09:00
update(julia): call Pkg
This commit is contained in:
parent
77df4f2c4f
commit
3491aed70b
2 changed files with 9 additions and 5 deletions
|
@ -5,7 +5,8 @@ if !ispath(project_path)
|
|||
@info "Created $(project_path)"
|
||||
touch(joinpath(project_path, "tracecompile.jl"))
|
||||
end
|
||||
cmd = `julia --project=$(project_path) $(@__DIR__)/add_dependencies.jl`
|
||||
@info cmd
|
||||
run(cmd)
|
||||
|
||||
using Pkg
|
||||
Pkg.activate(project_path)
|
||||
include("$(@__DIR__)/add_dependencies.jl")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue