Skip to content

Commit 2649154

Browse files
committed
gnd: Extract shared manifest and watch modules to reduce duplication
Consolidate duplicated code across build and codegen commands: - Create manifest.rs with unified Manifest types and load_manifest() - Create watch.rs with generic watch_and_run() for --watch mode - Consolidate compile_data_source_mapping/compile_template_mapping - Consolidate copy_abi/copy_template_abi into copy_abi_to_dir - Add output_extension() helper for wasm/wast conditionals Removes ~225 lines of duplicated code while improving maintainability.
1 parent 9f69d96 commit 2649154

7 files changed

Lines changed: 673 additions & 842 deletions

File tree

0 commit comments

Comments
 (0)