mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
16 lines
318 B
Batchfile
16 lines
318 B
Batchfile
@echo off
|
|
cd %~dp0
|
|
for %%f in (*.hook) do (
|
|
echo Installing hook: %%~nf
|
|
mkdir ..\..\..\.git\hooks
|
|
copy %%f ..\..\..\.git\hooks\%%~nf >nul
|
|
)
|
|
for %%f in (*.merge) do (
|
|
echo Installing merge driver: %%~nf
|
|
echo [merge "%%~nf"]^
|
|
|
|
driver = tools/hooks/%%f %%P %%O %%A %%B %%L >> ..\..\..\.git\config
|
|
)
|
|
echo Done
|
|
pause
|