Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions run.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ set _json=%~dp0config.json

pushd "%~dp0"
call "%_dotnet%" "%_toolRuntime%\run.exe" "%_json%" %*

:: Terminate all dotnet build processes.
call "%_dotnet%" "build-server" "shutdown"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not where I would expect this line to go.

For things like this (that only affect official build, or CI, etc), we should be modifying the official build and/or CI .yml files. This kind of change affects EVERYONE who tries building our repo - even devs on their own boxes. Killing the build server after each time I call "build" on the command line slows down my dev workflow because it needs to spin the build server up again the next time I call "build".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I will change that to the .yml file so that it only affects the official build.

popd

exit /b %ERRORLEVEL%