Skip to content

Commit

Permalink
make menu() work
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Nov 16, 2024
1 parent acaf9b8 commit 931409a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bin/run_julia
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ branch=$(git rev-parse --abbrev-ref HEAD)

if test -f "bin/kps-image-${julia_major}-${branch}.so"; then
echo "Found system image!"
julia -J bin/kps-image-${julia_major}-${branch}.so -t $FAST_CORES,1 $GCT --project
julia -J bin/kps-image-${julia_major}-${branch}.so -t $FAST_CORES,1 $GCT --project -i -e "using KiteViewers"
else
julia --project -t $FAST_CORES,1 $GCT
julia --project -t $FAST_CORES,1 $GCT -i -e "using KiteViewers"
# julia --project
fi
4 changes: 2 additions & 2 deletions examples/menu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ options = ["basic_1p = include(\"basic_1p.jl\")",
"steering_bench_video = include(\"steering_bench_video.jl\")",
"quit"]

function menu()
function example_menu()
active = true
while active
menu = RadioMenu(options, pagesize=8)
Expand All @@ -27,4 +27,4 @@ function menu()
end
end

menu()
example_menu()
3 changes: 2 additions & 1 deletion src/KiteViewers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module KiteViewers
using PrecompileTools: @setup_workload, @compile_workload
using GeometryBasics, Rotations, GLMakie, FileIO, LinearAlgebra, Printf, Parameters, Reexport
import GeometryBasics:Point3f, GeometryBasics.Point2f
using KiteUtils, Pkg
@reexport using KiteUtils
using Pkg

export Viewer3D, AbstractKiteViewer, AKV # types
export clear_viewer, update_system, save_png, stop, pause, set_status # functions
Expand Down

0 comments on commit 931409a

Please sign in to comment.