We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d3b953 commit 120ea42Copy full SHA for 120ea42
1 file changed
bin/run_julia
@@ -1,9 +1,15 @@
1
-#!/bin/bash
+#!/bin/bash -eu
2
3
if [[ $(basename $(pwd)) == "bin" ]]; then
4
cd ..
5
fi
6
7
export JULIA_PKG_SERVER_REGISTRY_PREFERENCE=eager
8
9
-julia --project -i -e 'using VortexStepMethod; function menu(); include("examples/menu.jl"); end'
+if [[ $# -gt 0 ]]; then
10
+ JULIA_ARGS=("$@")
11
+else
12
+ JULIA_ARGS=(-i -e 'using VortexStepMethod; function menu(); include("examples/menu.jl"); end')
13
+fi
14
+
15
+julia --project "${JULIA_ARGS[@]}"
0 commit comments