2018-01-02 13:58:21 +03:00
|
|
|
@echo off
|
2018-03-10 04:32:02 +03:00
|
|
|
rem stub uncommon targets
|
|
|
|
set NUGET_EXE=%NUGET_DIR%NuGet.exe
|
|
|
|
mkdir Xamarin.Forms.Platform.MacOS\bin\debug\
|
|
|
|
mkdir Xamarin.Forms.Platform.Tizen\bin\debug\tizen40\
|
|
|
|
echo foo > Xamarin.Forms.Platform.MacOS\bin\debug\Xamarin.forms.Platform.macOS.dll
|
|
|
|
echo foo > Xamarin.Forms.Platform.MacOS\bin\debug\Xamarin.forms.Platform.dll
|
|
|
|
echo foo > Xamarin.Forms.Platform.Tizen\bin\debug\tizen40\Xamarin.forms.Platform.tizen.dll
|
|
|
|
echo foo > Xamarin.Forms.Platform.Tizen\bin\debug\tizen40\Xamarin.forms.Platform.dll
|
|
|
|
if "%1" NEQ "" (
|
|
|
|
%NUGET_EXE% restore .xamarin.forms.sln
|
|
|
|
msbuild /v:m /p:platform="any cpu" .xamarin.forms.sln
|
|
|
|
)
|
2017-03-14 17:33:20 +03:00
|
|
|
if "%DEBUG_VERSION%"=="" set DEBUG_VERSION=0
|
|
|
|
set /a DEBUG_VERSION=%DEBUG_VERSION%+1
|
2017-03-10 22:38:28 +03:00
|
|
|
pushd docs
|
|
|
|
..\tools\mdoc\mdoc.exe export-msxdoc -o Xamarin.Forms.Core.xml Xamarin.Forms.Core
|
|
|
|
..\tools\mdoc\mdoc.exe export-msxdoc -o Xamarin.Forms.Xaml.xml Xamarin.Forms.Xaml
|
|
|
|
..\tools\mdoc\mdoc.exe export-msxdoc -o Xamarin.Forms.Maps.xml Xamarin.Forms.Maps
|
|
|
|
popd
|
|
|
|
pushd .nuspec
|
2018-01-02 13:58:21 +03:00
|
|
|
%NUGET_EXE% pack Xamarin.Forms.nuspec -properties configuration=debug;platform=anycpu -Version 9.9.%DEBUG_VERSION%
|
|
|
|
if "%CREATE_MAP_NUGET%" NEQ "" (
|
|
|
|
REM Requires building x86, x64, AMD
|
|
|
|
%NUGET_EXE% pack Xamarin.Forms.Maps.nuspec -properties configuration=debug;platform=anycpu -Version 9.9.%DEBUG_VERSION%
|
|
|
|
)
|
2017-03-10 22:38:28 +03:00
|
|
|
popd
|