Closed aznashwan closed 4 months ago
For the record, I am also open to modifying the Pydantic spec for build-on
to automatically convert standalone strings to a list of one single string similar to how it's done for platforms.<platform>.build-for
.
Just noticed the formatting issues and fixed them now, feel free to re-run the checks at your leisure!
Coincidentally fixed by https://github.com/canonical/rockcraft/pull/567.
Closing this PR now, thank you for everything!
Provide a helpful error message if
rockcraft.yaml
contains aplatforms.<platform>.build-on
which is not a list.Fixes #632.
* my employing organization should have signed it AFAIK.
Example of change
Given this snipped of a
rockcraft.yaml
:Before:
After: