зеркало из https://github.com/DeGsoft/maui-linux.git
28 строки
1.3 KiB
Batchfile
28 строки
1.3 KiB
Batchfile
@echo off
|
|
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
|
|
)
|
|
if "%DEBUG_VERSION%"=="" set DEBUG_VERSION=0
|
|
set /a DEBUG_VERSION=%DEBUG_VERSION%+1
|
|
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
|
|
%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%
|
|
)
|
|
popd
|