Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 37b4e90

Browse files
committed
Minor build/run/test script updates
1 parent 53b6436 commit 37b4e90

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

appveyor.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,16 @@ init:
1111
}
1212
1313
build_script:
14-
- cmd: taskkill /f /im MSBuild.exe /fi "memusage gt 40" 2>NUL
14+
- cmd: echo /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" >> msbuild.rsp
1515
- cmd: build.cmd /restore
1616
- cmd: build.cmd /release
17-
- cmd: taskkill /f /im MSBuild.exe /fi "memusage gt 40" 2>NUL
1817

1918
install:
2019
- cmd: git submodule update --init --recursive
2120

2221
# we run the tests ourselves in build.proj for coverage
2322
test: off
2423

25-
# build cache to preserve files/folders between builds
26-
cache:
27-
- '%LocalAppData%\NuGet\Cache'
28-
- '%USERPROFILE%\.nuget\packages'
29-
3024
deploy:
3125
- provider: NuGet
3226
api_key:

build.cmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set BuildConfiguration=Debug
77
set MSBuildTarget=All
88
set NodeReuse=true
99
set MultiProcessor=/m
10+
set MSBuildAdditionalArguments=/m
1011

1112
:ParseArguments
1213
if "%1" == "" goto :DoneParsing
@@ -20,7 +21,7 @@ if /I "%1" == "/test" set MSBuildTarget=Test&&shift&& goto :ParseArguments
2021
if /I "%1" == "/restore" set MSBuildTarget=Restore&&shift&& goto :ParseArguments
2122
if /I "%1" == "/no-node-reuse" set NodeReuse=false&&shift&& goto :ParseArguments
2223
if /I "%1" == "/no-multi-proc" set MultiProcessor=&&shift&& goto :ParseArguments
23-
MSBuildAdditionalArguments="%1 %MSBuildAdditionalArguments"%&&shift&& goto :ParseArguments
24+
set MSBuildAdditionalArguments=%1 %MSBuildAdditionalArguments%&&shift&& goto :ParseArguments
2425
:DoneParsing
2526

2627
:: Detect if MSBuild is in the path

0 commit comments

Comments
 (0)