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

cmd/mecha: add ability to compile Zig modules using mecha build command #29

Merged
merged 2 commits into from
Apr 1, 2024

Conversation

deadprogram
Copy link
Member

This PR extends cmd/mecha by adding the ability to compile Zig modules using the mecha build command.

@deadprogram deadprogram changed the title cmd/mecha: add ability to compile Zig modules to mecha build command cmd/mecha: add ability to compile Zig modules using mecha build command Apr 1, 2024
@deadprogram
Copy link
Member Author

Added support for Rust/Zig module templates to this PR.

Create TinyGo module:

mecha new module -template=github.com/hybridgroup/mechanoid-templates/modules/ping ping2

Create Rust module:

mecha new module -template=github.com/hybridgroup/mechanoid-templates/modules/pingrs -type=rust pingrs

Create Zig module:

mecha new module -template=github.com/hybridgroup/mechanoid-templates/modules/pingzig -type=zig pingzig

@deadprogram
Copy link
Member Author

Thanks for review @orsinium now merging.

@deadprogram deadprogram merged commit 990fbb5 into dev Apr 1, 2024
1 check passed
@deadprogram deadprogram deleted the mecha-build-zig branch April 1, 2024 18:16
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