use powershell instead of cmd
This commit is contained in:
parent
e944623780
commit
4dc1054104
@ -9,7 +9,7 @@ install:
|
|||||||
- ps: Import-Module CoApp
|
- ps: Import-Module CoApp
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- ps: .\scripts\nuget_build.bat
|
- ps: .\scripts\nuget_build.ps1
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- ps: .\tests\autotest-appveyor.ps1
|
- ps: .\tests\autotest-appveyor.ps1
|
||||||
|
|||||||
@ -1,17 +0,0 @@
|
|||||||
@echo off
|
|
||||||
cd %~dp0
|
|
||||||
|
|
||||||
"%VS141COMNTOOLS%\VsMSBuildCmd.bat" && ^
|
|
||||||
msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo && ^
|
|
||||||
msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x86 /v:minimal /nologo && ^
|
|
||||||
msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64 /v:minimal /nologo && ^
|
|
||||||
msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x64 /v:minimal /nologo && ^
|
|
||||||
msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo && ^
|
|
||||||
msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x86 /v:minimal /nologo && ^
|
|
||||||
msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64 /v:minimal /nologo && ^
|
|
||||||
msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x64 /v:minimal /nologo && ^
|
|
||||||
msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo && ^
|
|
||||||
msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x86 /v:minimal /nologo && ^
|
|
||||||
msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64 /v:minimal /nologo && ^
|
|
||||||
msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x64 /v:minimal /nologo && ^
|
|
||||||
powershell Write-NuGetPackage nuget.autopkg
|
|
||||||
33
scripts/nuget_build.ps1
Normal file
33
scripts/nuget_build.ps1
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
Push-Location
|
||||||
|
$scriptdir = Split-Path $MyInvocation.MyCommand.Path
|
||||||
|
cd $scriptdir
|
||||||
|
|
||||||
|
"%VS141COMNTOOLS%\VsMSBuildCmd.bat"
|
||||||
|
msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x86 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
msbuild pugixml_vs2013_static.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x64 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x86 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
msbuild pugixml_vs2015.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x64 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x86 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x86 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
msbuild pugixml_vs2017.vcxproj /t:Rebuild /p:Configuration=Release /p:Platform=x64 /v:minimal /nologo
|
||||||
|
If(!$?){exit 1}
|
||||||
|
Write-NuGetPackage nuget.autopkg
|
||||||
|
If(!$?){exit 1}
|
||||||
|
|
||||||
|
Pop-Location
|
||||||
Loading…
Reference in New Issue
Block a user