Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 964 Bytes

File metadata and controls

46 lines (32 loc) · 964 Bytes

Contributing

Getting Started

  1. Fork the repository
  2. Clone your fork
  3. Create a feature branch

Code Standards

  • set -euo pipefail at script start
  • Quote all variables: "$var"
  • Use [[ ]] for tests
  • Pass ShellCheck: task style

Testing

task style              # Lint
task test:unit          # Unit tests
task test:integration   # Integration tests (requires Docker)

Commit Messages

type(scope): description

- Detailed explanation
- Reference issues: Fixes #123

Types: feat, fix, docs, style, refactor, test, chore

Pull Request

  1. Run tests: task style && task test
  2. Push: git push origin feature/my-feature
  3. Create PR with description and testing done

Adding Platforms

  1. Update src/lib/os_detect.sh - detection logic
  2. Update src/lib/packages.sh - package mapping
  3. Add test/integration/Dockerfile.{platform}
  4. Test: task build && task test:integration -- platform