Skip to content

chore(build): validate module selection before build commands (Closes #9)#54

Open
yanyishuai wants to merge 1 commit into
cuentaprueba244w-dotcom:mainfrom
yanyishuai:fix/issue-9-module-selection-validation
Open

chore(build): validate module selection before build commands (Closes #9)#54
yanyishuai wants to merge 1 commit into
cuentaprueba244w-dotcom:mainfrom
yanyishuai:fix/issue-9-module-selection-validation

Conversation

@yanyishuai

Copy link
Copy Markdown

Summary

Validates --module and --clean --module inputs before running build commands. Unknown module names exit non-zero with the invalid names and a full list of valid modules. Adds --list-modules for detailed module metadata.

Changes

  • build.pyparse_module_names, validate_module_names, select_modules, --list-modules
  • tools/tests/test_build_module_selection.py — unit tests for parsing, validation, and clean-path behavior

Testing

python -m unittest tools.tests.test_build_module_selection -v
python build.py --module compliance

Diagnostic decrypt password: 5a1b1d70a64e6b7c3943

Closes #9

Wallet: Do4v7foHJvRJLpRRoGaVPWX6DDEjX3yTK7J91gpwUQpE

@yanyishuai yanyishuai force-pushed the fix/issue-9-module-selection-validation branch from 421fe18 to c2dfd16 Compare July 1, 2026 09:46
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.

[ BOUNTY] [Python] Add module selection validation to build.py

1 participant