2023-10-13 20:44:34 +09:00
|
|
|
#!/usr/bin/julia
|
|
|
|
project_path = joinpath(homedir(), ".julia", "environments", "nvim-lspconfig")
|
|
|
|
if !ispath(project_path)
|
|
|
|
try
|
|
|
|
mkdir(project_path)
|
|
|
|
@info "Created $(project_path)"
|
2024-06-25 19:37:11 +09:00
|
|
|
touch(joinpath(project_path, "tracecompile.jl"))
|
2023-10-13 20:44:34 +09:00
|
|
|
catch e
|
|
|
|
@error e
|
|
|
|
@error dump(e)
|
|
|
|
throw(e)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
cmd = `julia --project=$(project_path) $(@__DIR__)/add_dependencies.jl`
|
|
|
|
@info cmd
|
|
|
|
run(cmd)
|
|
|
|
|