Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write mopro build targets in Config.toml #294

Open
vivianjeng opened this issue Jan 10, 2025 · 0 comments
Open

Write mopro build targets in Config.toml #294

vivianjeng opened this issue Jan 10, 2025 · 0 comments

Comments

@vivianjeng
Copy link
Collaborator

Problem

We have completed #264 for creating a config file for mopro create
but when users run mopro build more than once, they have to select targets multiple times
There are

  • Build mode
  • Select platform(s) (already in config file)
  • iOS architecture(s) / Android architecture(s)

We can save also build mode and architecture(s) in config file to easily build again

Details

Like #282,
save the build mode and architectures in the Config.toml
e.g.

target_adapters = []
target_platforms = []
build_mode = [] # build or release
ios_architectures = [] # 3 iOS architectures list
android_architectures = [] # 4 Android architectures list

and enable the checkbox if it is in config file
disable the checkbox if it is not in the config file

Acceptance criteria

  • save build_mode, ios_architectures, android_architectures in Cargo.toml
  • and run mopro build again to enable the checkboxes if it is saved in Cargo.toml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant