Skip to content

feat: Add NO_COLOR support, new progress bar and HSP auto-build for run command#6

Merged
ockhamliu merged 4 commits into
heco-cli:mainfrom
ockhamliu:main
May 3, 2026
Merged

feat: Add NO_COLOR support, new progress bar and HSP auto-build for run command#6
ockhamliu merged 4 commits into
heco-cli:mainfrom
ockhamliu:main

Conversation

@ockhamliu

Copy link
Copy Markdown
Contributor

No description provided.

Make ModuleTarget.name optional to handle modules without target names
Remove conflict between --modules and --products flags to allow building
specific modules for a product, with validation to ensure only one product
is specified when using both parameters
ockhamliu added 2 commits May 3, 2026 22:07
- Add console dependency for consistent color handling
- Update color choice handling to sync console library settings
- Add NO_COLOR environment variable detection in progress bar
- Strip ANSI color codes when NO_COLOR is set
- Minor code formatting improvements
- Adjust build flow: recursively resolve all HSP dependencies of the main module first
- Build main module + all dependent HSPs together to ensure all artifacts are generated
- Keep correct installation order: install all HSPs first, then main HAP (follows HarmonyOS requirement)

Fixes error: "Build outputs directory not found for module 'xxx'"
@ockhamliu ockhamliu changed the title refactor: new progress bar and new param of build command feat: Add NO_COLOR support, new progress bar and HSP auto-build for run command May 3, 2026
@ockhamliu ockhamliu merged commit be0a113 into heco-cli:main May 3, 2026
1 check passed
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.

1 participant