Skip to content

Commit e8c52c6

Browse files
committed
Add install.jl
1 parent 4a94552 commit e8c52c6

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

bin/install

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ export JULIA_PKG_SERVER_REGISTRY_PREFERENCE=eager
88

99
julia -e 'using Pkg; Pkg.add("TestEnv"); Pkg.add("ControlPlots")'
1010

11+
julia --project -e 'include("bin/install.jl")'
12+

bin/install.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using Pkg
2+
3+
try
4+
Pkg.instantiate()
5+
catch
6+
try
7+
Pkg.resolve()
8+
catch
9+
Pkg.update()
10+
end
11+
end

0 commit comments

Comments
 (0)