We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8c52c6 commit 5792f5cCopy full SHA for 5792f5c
bin/install
@@ -4,6 +4,24 @@ if [[ $(basename $(pwd)) == "bin" ]]; then
4
cd ..
5
fi
6
7
+# TODO check if juliaup is installed
8
+
9
+# TODO check if Julia is installed and install it if not
10
11
+if ! command -v juliaup &> /dev/null; then
12
+ echo "Please install the Julia installer 'juliaup'!"
13
+ echo "See: https://github.com/JuliaLang/juliaup"
14
+ exit 1
15
+fi
16
17
+# if Julia is not installed, install Julia 1.11
18
+if ! command -v julia &> /dev/null; then
19
+ echo "The command 'julia' was not found."
20
+ echo "Installing Julia 1.11!"
21
+ juliaup add 1.11
22
+ juliaup default 1.11
23
24
25
export JULIA_PKG_SERVER_REGISTRY_PREFERENCE=eager
26
27
julia -e 'using Pkg; Pkg.add("TestEnv"); Pkg.add("ControlPlots")'
0 commit comments