Stream: helpdesk (published)

Topic: Neater test of v1 manifest upgrade necessity


view this post on Zulip Jesper Stemann Andersen (Feb 28 2022 at 13:55):

Is there a neater way of testing whether upgrade of manifest is necessary than the following?

manifest_path = joinpath(dirname(Base.active_project()), "Manifest.toml")
VERSION >= v"1.7" && isfile(manifest_path) && Base.is_v1_format_manifest(Base.parsed_toml(manifest_path))

Last updated: Dec 28 2024 at 04:38 UTC