bin/check-core-mode runs as a pre-commit hook and refuses staged composer.json, package.json or lockfiles that point at ../boboko-core, which would break the build for everyone. bin/core-mode enables it via core.hooksPath on first use, since git doesn't version hooks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 lines
35 B
Bash
Executable File
3 lines
35 B
Bash
Executable File
#!/bin/sh
|
|
exec bin/check-core-mode
|