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

mecha: extend build command with project/modules subcommands and flags #26

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

deadprogram
Copy link
Member

This PR improves the mecha CLI by extending the implementation of the build command to include project and modules subcommands. It also add flags by reusing the same flags as the flash command is already using.

…d flags

Signed-off-by: deadprogram <ron@hybridgroup.com>
@deadprogram
Copy link
Member Author

Why is this needed?

Needed if you want to build the binary but not actually flash the device right now.

How to use the code in this PR:

mecha build

This builds the modules in the current project. Same as the 0.1.x version of the command.

mecha build modules

This builds only the modules in the current project.

mecha build project

This builds only the application in the current project.

@deadprogram
Copy link
Member Author

Thanks @orsinium now merging.

@deadprogram deadprogram merged commit e9b79c9 into dev Mar 25, 2024
1 check passed
@deadprogram deadprogram deleted the mecha-build-app branch March 25, 2024 12:10
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

Successfully merging this pull request may close these issues.

2 participants