Link: Add checking of TOML during `mason add` by bmcdonald3 · Pull Request #20367 · chapel-lang/chapel · GitHub
Merge pull request #20367 from bmcdonald3/mason-registry
Add checking of TOML during
[ reviewed by @arezaii ]
mason add command would add anything that was
passed to it, regardless of whether or not the package existed.
This PR modifies
mason add to check the TOML file of the
package that was
mason added prior to adding it to the manifest
file and also adds a check to ensure that the type of the project
that is being added was a mason library.
As of Add 3 distinct mason modes and `mason modules` command by bmcdonald3 · Pull Request #20297 · chapel-lang/chapel · GitHub, the manifest
file has a new
type field, and projects with
the only type that can be added as a dependency of a project.
Modified Files: A test/mason/addBadDep.toml