Add devcpone bootstrap

This commit is contained in:
sas.fajri
2026-04-27 10:54:07 +07:00
parent 596f7b794b
commit d786305386

11
scripts/devcpone-bootstrap.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -eu
repo_root=$(git rev-parse --show-toplevel)
cd "$repo_root"
git config core.hooksPath .githooks
chmod +x .githooks/post-commit scripts/devcpone_sync.sh
echo "Devcpone hook bootstrap is active."
echo "Run: git commit on master to sync to /home/one/project/one/one-ui/"