Skip to content

Conversation

@jinzhongjia
Copy link
Member

@jinzhongjia jinzhongjia commented Nov 22, 2025

Just code tidy, none-change

- Move type alias declarations earlier in file - Reorder const declarations for better structure - Group related imports and constants together
- Rename `generate_docs` to `generateDocs` - Rename `build_examples` to `buildExamples` - Update all function calls to use new names
- Remove lengthy comment blocks throughout build functions - Clean up unnecessary blank lines between code sections - Preserve core documentation in comments where needed
- Update minimum required version from 0.12.0 to 0.14.0 - Enforce Zig 0.14.0+ as minimum build requirement
- Extract error message into `err_msg` variable - Separate formatting logic from error handling - Improve code readability in version check
- Fix enableWebUILog default value from enableTLS - Correct enableWebUILog option description text - Refactor TLS cross-compilation validation logic - Improve TLS error message and use error log level - Reorganize option initialization order
- Consolidate multi-line if statements to single lines - Remove extra whitespace in module imports structure - Move generateDocs call to end of build sequence
- Remove unused webui_lib parameter from buildExamples - Remove exe.linkLibrary call from function body - Reformat function signature for readability
- Create BuildExamplesOptions struct to hold parameters - Update buildExamples function to accept options struct - Replace direct parameter references with options fields
- Extract createObject and createExecutable helper functions - Refactor function signatures to use option structs - Extract buildExample function from buildExamples loop - Improve variable naming for code clarity - Add organizational section comments
@jinzhongjia jinzhongjia merged commit 0c49115 into main Nov 22, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants