Skip to content

Commit

Permalink
Fix 'bcz exclusive' typo
Browse files Browse the repository at this point in the history
Without this fix, you'd end up with an empty target variable, and so
msbuild would complain and tell you to give it a target.
  • Loading branch information
jazzdelightsme committed Jul 16, 2020
1 parent 09471c3 commit 3c10324
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/bcz.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,12 @@ set "__PROJECT_NAME=!_OUTPUT!"
rem If we're trying to clean build, make sure to update the target here.
if "%_MSBUILD_TARGET%" == "Build" (
set __MSBUILD_TARGET=%__PROJECT_NAME%
) else if "%_MSBUILD_TARGET%" == "Clean,Build" (
) else if "%_MSBUILD_TARGET%" == "Clean;Build" (
set __MSBUILD_TARGET=%__PROJECT_NAME%:Rebuild
) else (
echo.
echo Oops... build bug in the neighborhood of configuring a build target.
echo.
)
rem This statement will propagate our internal variables up to the calling
rem scope. Because they're all on one line, the value of our local variables
Expand Down

0 comments on commit 3c10324

Please sign in to comment.