sync.bat 313 B

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