From b737175a7f495213ebcbff72840b89f0d80f7719 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Wed, 6 Apr 2022 17:52:24 +0200 Subject: [PATCH] Add update script to update all subprojects --- .gitignore | 2 ++ update.jl | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 update.jl diff --git a/.gitignore b/.gitignore index 220d5fd..b1de3d1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ exports *.mem LocalPreferences.toml + +start.jl \ No newline at end of file diff --git a/update.jl b/update.jl new file mode 100644 index 0000000..3ce6276 --- /dev/null +++ b/update.jl @@ -0,0 +1,22 @@ +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()