Thank you for your interest in contributing to Swama! We welcome contributions from the community.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/swama.git - Create a feature branch:
git checkout -b feature/amazing-feature
- macOS 14.0 or later
- Apple Silicon (M1/M2/M3/M4)
- Xcode 15.0+
- Swift 6.1+
# Build CLI tool
cd swama
swift build -c release
# Build macOS app
cd swama-macos/Swama
xcodebuild -project Swama.xcodeproj -scheme Swama -configuration Release# Run tests
swift test- Follow Swift API Design Guidelines
- Use meaningful variable and function names
- Add comments for complex logic
- Ensure code is properly formatted
- Ensure your code builds without warnings
- Add tests for new features
- Update documentation if needed
- Commit your changes with clear commit messages
- Push to your fork and submit a pull request
- Provide a clear description of the changes
- Reference any related issues
- Ensure all tests pass
- Keep pull requests focused on a single feature or fix
When reporting issues, please include:
- macOS version
- Hardware (Apple Silicon model)
- Steps to reproduce
- Expected vs actual behavior
- Error messages or logs
By contributing, you agree that your contributions will be licensed under the MIT License.