Skip to content

Commit 92f0818

Browse files
With feeling...
1 parent ffdbca4 commit 92f0818

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/bootstrap_examples.jl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,16 @@ if isfile(joinpath(@__DIR__, "..", "examples", "Manifest.toml"))
88
exit(0)
99
end
1010

11-
if occursin("JetReconstruction.jl", pwd())
12-
local_path = joinpath("..", "JetReconstruction.jl")
11+
if isdir(joinpath("..", "JetReconstruction.jl"))
12+
symlink("JetReconstruction.jl", "../JetReconstruction")
1313
else
14-
local_path = joinpath("..", "JetReconstruction")
15-
end
1614

1715
println("Trying local path: $local_path (from $(pwd()))")
1816

1917
using Pkg
2018
Pkg.instantiate()
2119
Pkg.resolve()
22-
Pkg.develop(path = local_path)
20+
Pkg.develop(path = "../JetReconstruction")
2321
Pkg.status()
2422

2523
println("Finished example boostrap script")

0 commit comments

Comments
 (0)