You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
rem File to update the APM source
|
|
|
|
rem Assumes a Cgywin install at C:\cygwin
|
|
|
|
@echo off
|
|
|
|
|
|
|
|
rem get current dir for Cygwin
|
|
|
|
set pth=%CD:~2,99%
|
|
|
|
set pth=%pth:\=/%
|
|
|
|
set drv=%CD:~0,1%
|
|
|
|
set "fullpath=/cygdrive/%drv%%pth%"
|
|
|
|
|
|
|
|
rem update the source
|
|
|
|
C:\cygwin\bin\bash.exe --login -i -c "cd ""%fullpath%"" && cd ../../../ && git pull && git submodule update --init --recursive"
|
|
|
|
|
|
|
|
rem re-configure build config
|
|
|
|
C:\cygwin\bin\bash.exe --login -i -c "cd ""%fullpath%"" && cd ../../../ && ./modules/waf/waf-light configure --board=sitl"
|
|
|
|
|
|
|
|
pause
|