File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,6 +60,14 @@ for f in menu.jl bench.jl rectangular_wing.jl V3_kite.jl \
6060 fi
6161done
6262
63+ # The copied examples activate their own project (@__DIR__), so ensure that
64+ # environment is fully resolved and linked to this checkout before execution.
65+ $JULIA --project=examples -e '
66+ using Pkg
67+ Pkg.develop(path="' " $REPO_ROOT " ' ")
68+ Pkg.instantiate()
69+ ' 2>&1 && pass " instantiated examples environment" || fail " instantiated examples environment"
70+
6371# Verify correct packages were added
6472$JULIA --project=. -e '
6573 using Pkg
@@ -74,7 +82,7 @@ $JULIA --project=. -e '
7482for f in rectangular_wing.jl pyramid_model.jl V3_kite.jl \
7583 stall_model.jl ram_air_kite.jl bench.jl; do
7684 echo " Running $f ..."
77- $JULIA --project=. -e '
85+ $JULIA --project=examples -e '
7886 include("examples/' " $f " ' ")
7987 ' 2>&1 && pass " run $f " || fail " run $f "
8088done
You can’t perform that action at this time.
0 commit comments