- Fork the repository
- Clone your fork
- Create a feature branch
set -euo pipefailat script start- Quote all variables:
"$var" - Use
[[ ]]for tests - Pass ShellCheck:
task style
task style # Lint
task test:unit # Unit tests
task test:integration # Integration tests (requires Docker)type(scope): description
- Detailed explanation
- Reference issues: Fixes #123
Types: feat, fix, docs, style, refactor, test, chore
- Run tests:
task style && task test - Push:
git push origin feature/my-feature - Create PR with description and testing done
- Update
src/lib/os_detect.sh- detection logic - Update
src/lib/packages.sh- package mapping - Add
test/integration/Dockerfile.{platform} - Test:
task build && task test:integration -- platform