1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

core: add pre-commit hooks for go CI checks

This commit is contained in:
bbedward
2025-11-30 11:04:12 -05:00
parent 915f1a5036
commit b2cf20f3d8
13 changed files with 2147 additions and 195 deletions

View File

@@ -72,6 +72,13 @@ sudo make install # Install to /usr/local/bin/dms
## Development
**Setup pre-commit hooks:**
```bash
git config core.hooksPath .githooks
```
This runs gofmt, golangci-lint, tests, and builds before each commit when `core/` files are staged.
**Regenerating Wayland Protocol Bindings:**
```bash
go install github.com/rajveermalviya/go-wayland/cmd/go-wayland-scanner@latest