view update_manifest.jl @ 2015:5c2448d6a201 feature/grids/geometry_functions tip

Structure tests a bit more
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 09 May 2025 15:57:38 +0200
parents 608a24a7b13b
children
line wrap: on
line source

using Pkg

function update_and_log(root, d)
    printstyled("Updating '$d'"; color=:cyan, bold=true)
    println()
    dp = joinpath(root, d)

    update_directory(dp)
    println()
end

function update_directory(d)
    Pkg.activate(d)
    Pkg.update()
end

root = @__DIR__
update_and_log(root, ".")
update_and_log(root, "benchmark")
update_and_log(root, "docs")
update_and_log(root, "test")