mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
githook scripts point to potential local custom scripts
This commit is contained in:
@@ -7,3 +7,9 @@ export PATH="$PATH:/opt/homebrew/bin"
|
||||
|
||||
# ignores updates of 'Secrets.swift' to avoid pushing sensitive data by mistake
|
||||
git update-index --assume-unchanged Secrets/Secrets.swift
|
||||
|
||||
LOCAL_SCRIPT_PATH="$HOME/.local/elementx_local_dev/post-checkout"
|
||||
if [ -x "$LOCAL_SCRIPT_PATH" ]; then
|
||||
export ELEMENTX_REPO="$(pwd)"
|
||||
"$LOCAL_SCRIPT_PATH"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user