2016-03-22 23:02:25 +03:00
|
|
|
@echo off
|
|
|
|
PATH="C:\Program Files (x86)\Mono\bin";%PATH%
|
|
|
|
|
2017-02-16 23:01:58 +03:00
|
|
|
IF EXIST docs.xml (erase docs.xml)
|
|
|
|
for /r docs %%i in (*.xml) do type %%i >> docs.xml
|
2016-03-22 23:02:25 +03:00
|
|
|
|
2017-02-16 23:01:58 +03:00
|
|
|
echo "Updating Xamarin.Forms.Core"
|
|
|
|
tools\mdoc\mdoc update --delete Xamarin.Forms.Core\bin\Debug\Xamarin.Forms.Core.dll -L "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.5\Profile\Profile259" --out docs\Xamarin.Forms.Core > nul
|
|
|
|
IF %ERRORLEVEL% NEQ 0 (goto fail)
|
2016-03-22 23:02:25 +03:00
|
|
|
|
|
|
|
echo "Updating Xamarin.Forms.Xaml"
|
2017-02-16 23:01:58 +03:00
|
|
|
tools\mdoc\mdoc update --delete Xamarin.Forms.Xaml\bin\Debug\Xamarin.Forms.Xaml.dll -L "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.5\Profile\Profile259" --out docs\Xamarin.Forms.Xaml > nul
|
|
|
|
IF %ERRORLEVEL% NEQ 0 (goto fail)
|
2016-03-22 23:02:25 +03:00
|
|
|
|
|
|
|
echo "Updating Xamarin.Forms.Maps"
|
2017-02-16 23:01:58 +03:00
|
|
|
tools\mdoc\mdoc update --delete Xamarin.Forms.Maps\bin\Debug\Xamarin.Forms.Maps.dll -L "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.5\Profile\Profile259" --out docs\Xamarin.Forms.Maps > nul
|
|
|
|
IF %ERRORLEVEL% NEQ 0 (goto fail)
|
2016-03-22 23:02:25 +03:00
|
|
|
|
2016-04-24 19:25:26 +03:00
|
|
|
echo "Updating Xamarin.Forms.Pages"
|
2017-02-16 23:01:58 +03:00
|
|
|
tools\mdoc\mdoc update --delete Xamarin.Forms.Pages\bin\Debug\Xamarin.Forms.Pages.dll -L "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.5\Profile\Profile259" --out docs\Xamarin.Forms.Pages > nul
|
|
|
|
IF %ERRORLEVEL% NEQ 0 (goto fail)
|
2016-04-24 19:25:26 +03:00
|
|
|
|
2017-02-16 23:01:58 +03:00
|
|
|
IF EXIST _docs.xml (erase _docs.xml)
|
|
|
|
for /r docs %%i in (*.xml) do type %%i >> _docs.xml
|
|
|
|
fc docs.xml _docs.xml > nul 2> nul
|
|
|
|
IF %ERRORLEVEL% NEQ 0 (goto fail)
|
2016-04-24 19:25:26 +03:00
|
|
|
|
2017-02-16 23:01:58 +03:00
|
|
|
erase docs.xml _docs.xml
|
|
|
|
echo No changes detected.
|
2017-02-15 10:43:58 +03:00
|
|
|
exit /B 0
|
2016-03-22 23:02:25 +03:00
|
|
|
|
2017-02-16 23:01:58 +03:00
|
|
|
:fail
|
|
|
|
erase docs.xml _docs.xml
|
|
|
|
echo Changes detected!
|
|
|
|
exit /B 1
|
|
|
|
|