1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 15:39:42 +00:00

Complete automated testing

This commit is contained in:
Tw93
2025-10-12 15:43:45 +08:00
parent f9a93f6052
commit 3c56fe0633
13 changed files with 484 additions and 198 deletions

View File

@@ -141,10 +141,47 @@ Total: 156.8GB
└─ 📁 Desktop 12.7GB
```
## Development
### Setup
Install development tools:
```bash
brew install shfmt shellcheck bats-core
```
### Code Quality
Format and lint shell scripts:
```bash
# Format all scripts
./scripts/format.sh
# Check without modifying
./scripts/format.sh --check
# Install git hooks for auto-formatting
./scripts/install-hooks.sh
```
See [scripts/README.md](scripts/README.md) for detailed development workflow.
### Testing
Run automated tests:
```bash
./tests/run.sh
```
GitHub Actions automatically runs tests and formatting checks on PRs.
## Support
- If Mole reclaimed storage for you, consider starring the repo or sharing it with friends needing a cleaner Mac.
- Have ideas or fixes? Open an issue or PR and help shape Moles roadmap together with the community.
- Have ideas or fixes? Open an issue or PR and help shape Mole's roadmap together with the community.
- Love cats? Treat Tangyuan and Cola to canned food via <a href="https://miaoyan.app/cats.html?name=Mole" target="_blank">this link</a> and keep the mascots purring.
## License