Skip to content

Refactor build system and update README#1

Merged
ogyrec-o merged 8 commits intoogyrecDev:mainfrom
yunnwi:improve-code
Aug 20, 2025
Merged

Refactor build system and update README#1
ogyrec-o merged 8 commits intoogyrecDev:mainfrom
yunnwi:improve-code

Conversation

@yunnwi
Copy link
Member

@yunnwi yunnwi commented Aug 20, 2025

This PR refactors the modbuild tool for better modularity:

  • Split main logic into separate modules: build.rs, crate_info.rs, utils.rs.
  • Introduced clap-based CLI for cleaner argument handling:
    • build command to build mods for multiple targets.
    • list-targets command to list supported platforms.
  • Updated README with installation instructions and usage examples.
  • Added .gitignore for IDE files.
  • Added new dependencies: clap and serde_json.

These changes improve maintainability, make the build process more explicit, and provide a better developer experience.

@ogyrec-o ogyrec-o merged commit 323cd18 into ogyrecDev:main Aug 20, 2025
1 check passed
@yunnwi yunnwi deleted the improve-code branch August 20, 2025 19:27
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