Skip to content

Conversation

@wiseaidev
Copy link
Contributor

  • Added -n flag to AddArgs for comment stripping during file copy
  • Updated copy_relevant_files to:
    • Copy files from subdirectory named after the feature (e.g., yew/, leptos/)
    • Exclude {feature}.rs from the copied module list and delete it after copying
    • Strip single-line and doc comments when -n is true
    • Rewrite use crate::... and use crate::<feature>::... to use crate::<crate_name>::...

- Added `-n` flag to `AddArgs` for comment stripping during file copy
- Updated `copy_relevant_files` to:
  - Copy files from subdirectory named after the feature (e.g., `yew/`, `leptos/`)
  - Exclude `{feature}.rs` from the `copied` module list and delete it after copying
  - Strip single-line and doc comments when `-n` is true
  - Rewrite `use crate::...` and `use crate::<feature>::...` to `use crate::<crate_name>::...`
@wiseaidev wiseaidev merged commit c5245a2 into main Jun 3, 2025
1 check passed
@wiseaidev wiseaidev deleted the no-comments branch June 3, 2025 23:01
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