canonical / craft-application

The basis for *craft applications
https://canonical-craft-application.readthedocs-hosted.com/en/latest
GNU Lesser General Public License v3.0
5 stars 6 forks source link

feat(platforms): support --build-for to select platform #272

Closed syu-w closed 3 months ago

syu-w commented 3 months ago

Filter plans based on platform, build-on, and build-for.

Use platform if it matched build-for

There is an API change that _filter_plan now need host_arch parameter, which can be used in remote builds.

Fixes: #254