mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
clean before build
This commit is contained in:
parent
93d2c427ad
commit
3965852c26
@ -120,7 +120,7 @@ Pop-Location
|
|||||||
if($Compile) {
|
if($Compile) {
|
||||||
Push-Location -Path $launcher
|
Push-Location -Path $launcher
|
||||||
Create-RC $Version ($launcher + '\src\version.rc2');
|
Create-RC $Version ($launcher + '\src\version.rc2');
|
||||||
msbuild CmderLauncher.vcxproj /p:configuration=Release
|
msbuild CmderLauncher.vcxproj /t:Clean,Build /p:configuration=Release
|
||||||
if ($LastExitCode -ne 0) {
|
if ($LastExitCode -ne 0) {
|
||||||
throw "msbuild failed to build the executable."
|
throw "msbuild failed to build the executable."
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user