1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 13:16:47 +00:00

feat: overhaul quality checks and expand test suite for clean and optimize features

This commit is contained in:
Tw93
2025-12-31 18:13:37 +08:00
parent 1e8ff30fa1
commit 592f02e6e2
45 changed files with 1506 additions and 910 deletions

View File

@@ -9,26 +9,16 @@ brew install shfmt shellcheck bats-core
## Development
Run all quality checks before committing:
Run quality checks before committing (auto-formats code):
```bash
./scripts/check.sh
```
This command runs:
- Code formatting check
- ShellCheck linting
- Unit tests
Individual commands:
Run tests:
```bash
# Format code
./scripts/format.sh
# Run tests only
./scripts/run-tests.sh
./scripts/test.sh
```
## Code Style