chore(hooks): enforce executable bit on claude.sh and build.sh via pre-commit hook
This commit is contained in:
parent
6a060aa8ab
commit
f07a30bd0b
2 changed files with 21 additions and 0 deletions
|
|
@ -52,6 +52,14 @@ cd /path/to/project && ./claude.sh start # start proxy + launch Claude (pulls i
|
|||
./build.sh # build images locally (development)
|
||||
```
|
||||
|
||||
## Git Hooks
|
||||
|
||||
A pre-commit hook lives in `hooks/` and enforces the executable bit on `claude.sh` and `build.sh`. Activate it once after cloning:
|
||||
|
||||
```bash
|
||||
git config core.hooksPath hooks
|
||||
```
|
||||
|
||||
## Coding Standards
|
||||
|
||||
- Shell scripts use `set -euo pipefail`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue