1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 16:57:16 +01:00
SqMod/vendor/POCO/packaging/Windows/NuGet/bap.cmd

25 lines
570 B
Batchfile
Raw Normal View History

2021-08-22 17:07:06 +02:00
echo off
rem Usage:
rem ------
rem bap [vsvers] [release] // bpp 150 1.10.1
rem ------
setlocal
if "%1"=="" goto usage
if "%2"=="" goto usage
del *.nupkg
del *.snupkg
pushd ..\..\..\
buildwin %1 rebuild all both Win32 samples tests msbuild noenv
buildwin %1 rebuild all both x64 samples tests msbuild noenv
popd
pack %1 %2
nuget push *.nupkg -source nuget.int -symbolsource snuget.int -noninteractive -skipduplicate -timeout 3000
goto exit
:usage
echo Usage:
echo ------
echo bap [vsvers] [release] // bpp 150 1.10.1
echo ------
:exit
endlocal
echo on