- :: this script should run the sync bash script on windows, onecs cygwin has been installed
- :checkerror
- err=%1
- msg=%2
- if %err% NEQ 0 (
- )
- EXIT /B
- set curdir=%~dp0
- for /f %%i in ('git -C %curdir% rev-parse --show-toplevel') do set projectdir=%%i
- C:\cygwin64\bin\bash -l %projectdir%sync.sh
- PAUSE
|