mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 01:49:19 +00:00
21 lines
486 B
Bash
21 lines
486 B
Bash
#!/bin/bash
|
|
set -e
|
|
shopt -s nullglob
|
|
cd "$(dirname "$0")"
|
|
for f in *.hook; do
|
|
echo Installing hook: ${f%.hook}
|
|
cp $f ../../.git/hooks/${f%.hook}
|
|
done
|
|
for f in *.merge; do
|
|
echo Installing merge driver: ${f%.merge}
|
|
git config --replace-all merge.${f%.merge}.driver "tools/hooks/$f %P %O %A %B %L"
|
|
done
|
|
|
|
echo "Installing tgui hooks"
|
|
../../tgui/bin/tgui --install-git-hooks
|
|
|
|
echo "Installing Python dependencies"
|
|
./python.sh -m pip install -r ../mapmerge2/requirements.txt
|
|
|
|
echo "Done"
|