annotate update_manifest.jl @ 1998:6dd00ea0511a feature/grids/manifolds

Add check if the logical coordinates are in the parameter space when calling a chart
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 25 Apr 2025 08:28:34 +0200
parents 608a24a7b13b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1675
61422abd17a4 Add script for updating dependencies
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
1 using Pkg
61422abd17a4 Add script for updating dependencies
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
2
1984
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
3 function update_and_log(root, d)
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
4 printstyled("Updating '$d'"; color=:cyan, bold=true)
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
5 println()
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
6 dp = joinpath(root, d)
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
7
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
8 update_directory(dp)
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
9 println()
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
10 end
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
11
1675
61422abd17a4 Add script for updating dependencies
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
12 function update_directory(d)
61422abd17a4 Add script for updating dependencies
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
13 Pkg.activate(d)
61422abd17a4 Add script for updating dependencies
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
14 Pkg.update()
61422abd17a4 Add script for updating dependencies
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
15 end
61422abd17a4 Add script for updating dependencies
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
16
1984
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
17 root = @__DIR__
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
18 update_and_log(root, ".")
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
19 update_and_log(root, "benchmark")
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
20 update_and_log(root, "docs")
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
21 update_and_log(root, "test")
608a24a7b13b Make the output of update_manifest.jl nicer
Jonatan Werpers <jonatan@werpers.com>
parents: 1675
diff changeset
22