1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/ReCo.jl.git synced 2024-12-30 18:03:29 +00:00

Add instantiate script

This commit is contained in:
Mo8it 2022-04-06 20:28:18 +02:00
parent b8ae1be876
commit 2db2530f28
9 changed files with 40 additions and 27 deletions

View file

@ -1049,7 +1049,7 @@ version = "0.4.3"
[[deps.ReCo]]
deps = ["CellListMap", "Dates", "Distributions", "Flux", "Intervals", "JLD2", "LaTeXStrings", "LinearAlgebra", "ProgressMeter", "Random", "ReinforcementLearning", "StaticArrays"]
git-tree-sha1 = "0ef60bf33b5d542a38cc92c3a13e6feee2a6781c"
git-tree-sha1 = "d6af2db91383795aef2be181f045b2db5dcfd279"
repo-rev = "main"
repo-url = "https://gitlab.rlp.net/mobitar/ReCo.jl"
uuid = "b25f7548-fcc9-4c91-bc24-841b54f4dd54"

View file

@ -1014,7 +1014,7 @@ version = "0.4.3"
[[deps.ReCo]]
deps = ["CellListMap", "Dates", "Distributions", "Flux", "Intervals", "JLD2", "LaTeXStrings", "LinearAlgebra", "ProgressMeter", "Random", "ReinforcementLearning", "StaticArrays"]
git-tree-sha1 = "0ef60bf33b5d542a38cc92c3a13e6feee2a6781c"
git-tree-sha1 = "d6af2db91383795aef2be181f045b2db5dcfd279"
repo-rev = "main"
repo-url = "https://gitlab.rlp.net/mobitar/ReCo.jl"
uuid = "b25f7548-fcc9-4c91-bc24-841b54f4dd54"

View file

@ -793,7 +793,7 @@ version = "1.5.3"
[[deps.ReCo]]
deps = ["CellListMap", "Dates", "Distributions", "Flux", "Intervals", "JLD2", "LaTeXStrings", "LinearAlgebra", "ProgressMeter", "Random", "ReinforcementLearning", "StaticArrays"]
git-tree-sha1 = "0ef60bf33b5d542a38cc92c3a13e6feee2a6781c"
git-tree-sha1 = "d6af2db91383795aef2be181f045b2db5dcfd279"
repo-rev = "main"
repo-url = "https://gitlab.rlp.net/mobitar/ReCo.jl"
uuid = "b25f7548-fcc9-4c91-bc24-841b54f4dd54"

View file

@ -839,7 +839,7 @@ version = "1.5.3"
[[deps.ReCo]]
deps = ["CellListMap", "Dates", "Distributions", "Flux", "Intervals", "JLD2", "LaTeXStrings", "LinearAlgebra", "ProgressMeter", "Random", "ReinforcementLearning", "StaticArrays"]
git-tree-sha1 = "0ef60bf33b5d542a38cc92c3a13e6feee2a6781c"
git-tree-sha1 = "d6af2db91383795aef2be181f045b2db5dcfd279"
repo-rev = "main"
repo-url = "https://gitlab.rlp.net/mobitar/ReCo.jl"
uuid = "b25f7548-fcc9-4c91-bc24-841b54f4dd54"

14
scripts/instantiate.jl Normal file
View file

@ -0,0 +1,14 @@
using Pkg: Pkg
function instantiate()
projects = readlines("scripts/projects.txt")
for project in projects
Pkg.activate(project)
Pkg.instantiate()
end
return nothing
end
instantiate()

7
scripts/projects.txt Normal file
View file

@ -0,0 +1,7 @@
.
test
analysis
graphics/CairoMakie_graphics
graphics/Luxor_graphics
performance
visualization

14
scripts/update.jl Normal file
View file

@ -0,0 +1,14 @@
using Pkg: Pkg
function update()
projects = readlines("projects.txt")
for project in projects
Pkg.activate(project)
Pkg.update()
end
return nothing
end
update()

View file

@ -1,22 +0,0 @@
using Pkg: Pkg
function update()
projects = (
".",
"test",
"analysis",
"graphics/CairoMakie_graphics",
"graphics/Luxor_graphics",
"performance",
"visualization",
)
for project in projects
Pkg.activate(project)
Pkg.update()
end
return nothing
end
update()

View file

@ -1050,7 +1050,7 @@ version = "0.4.3"
[[deps.ReCo]]
deps = ["CellListMap", "Dates", "Distributions", "Flux", "Intervals", "JLD2", "LaTeXStrings", "LinearAlgebra", "ProgressMeter", "Random", "ReinforcementLearning", "StaticArrays"]
git-tree-sha1 = "0ef60bf33b5d542a38cc92c3a13e6feee2a6781c"
git-tree-sha1 = "d6af2db91383795aef2be181f045b2db5dcfd279"
repo-rev = "main"
repo-url = "https://gitlab.rlp.net/mobitar/ReCo.jl"
uuid = "b25f7548-fcc9-4c91-bc24-841b54f4dd54"