Mercurial > repos > public > sbplib_julia
comparison update_manifest.jl @ 2057:8a2a0d678d6f feature/lazy_tensors/pretty_printing
Merge default
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Tue, 10 Feb 2026 22:41:19 +0100 |
| parents | 608a24a7b13b |
| children |
comparison
equal
deleted
inserted
replaced
| 1110:c0bff9f6e0fb | 2057:8a2a0d678d6f |
|---|---|
| 1 using Pkg | |
| 2 | |
| 3 function update_and_log(root, d) | |
| 4 printstyled("Updating '$d'"; color=:cyan, bold=true) | |
| 5 println() | |
| 6 dp = joinpath(root, d) | |
| 7 | |
| 8 update_directory(dp) | |
| 9 println() | |
| 10 end | |
| 11 | |
| 12 function update_directory(d) | |
| 13 Pkg.activate(d) | |
| 14 Pkg.update() | |
| 15 end | |
| 16 | |
| 17 root = @__DIR__ | |
| 18 update_and_log(root, ".") | |
| 19 update_and_log(root, "benchmark") | |
| 20 update_and_log(root, "docs") | |
| 21 update_and_log(root, "test") | |
| 22 |
