Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6949d43

Browse files
authored
Restorepushd andpopd (#397)
- oops, needed on TeamCity to find global.json- left this unconditional, mostly for the odd local build from another folder
1 parent2da072a commit6949d43

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎build.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ set "NUGET_PACKAGES=%~dp0packages"
7575
REM Are we running in a local dev environment (not on CI)?
7676
ifDEFINED CI (set Desktop=false)elseifDEFINED TEAMCITY_VERSION (set Desktop=false)else (set Desktop=true)
7777

78+
pushd%~dp0
7879
if"%1"==""goto BuildDefaults
7980

8081
MSBuild"%~dp0Runtime.msbuild" /m /nr:false /p:Platform="Any CPU" /p:Desktop=%Desktop% /v:M^
@@ -91,11 +92,13 @@ goto BuildSuccess
9192
:BuildFail
9293
echo.
9394
echo *** BUILD FAILED ***
95+
popd
9496
endlocal
9597
exit /B999
9698

9799
:BuildSuccess
98100
echo.
99101
echo **** BUILD SUCCESSFUL ***
102+
popd
100103
endlocal
101104
exit /B0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp