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: Oct 02 2023 at 04:34 UTC