From d7863053866f00515c77613e6cffb52829e20389 Mon Sep 17 00:00:00 2001 From: "sas.fajri" Date: Mon, 27 Apr 2026 10:54:07 +0700 Subject: [PATCH] Add devcpone bootstrap --- scripts/devcpone-bootstrap.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 scripts/devcpone-bootstrap.sh diff --git a/scripts/devcpone-bootstrap.sh b/scripts/devcpone-bootstrap.sh new file mode 100755 index 0000000..cfacc4f --- /dev/null +++ b/scripts/devcpone-bootstrap.sh @@ -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/"