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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user