Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HLScript/PreBuildEvent.cmd @ 12371

Last change on this file since 12371 was 9396, checked in by ascheibe, 12 years ago

#2036 return success in the PreBuildEvent.cmd even if subwcrev is not found

File size: 597 bytes
Line 
1IF EXIST "%ProjectDir%\Properties\AssemblyInfo.cs.frame" SubWCRev "%ProjectDir%\" "%ProjectDir%\Properties\AssemblyInfo.cs.frame" "%ProjectDir%\Properties\AssemblyInfo.cs"
2IF %ERRORLEVEL% NEQ 0 GOTO Error_Handling
3IF EXIST "%ProjectDir%\Plugin.cs.frame" SubWCRev "%ProjectDir%\" "%ProjectDir%\Plugin.cs.frame" "%ProjectDir%\Plugin.cs"
4IF %ERRORLEVEL% NEQ 0 GOTO Error_Handling
5GOTO Done
6
7:Error_Handling
8ECHO There was an error while running subwcrev. Please verify that the *.cs.frame files have been correctly converted to *.cs files, otherwise HeuristicLab won't build.
9exit 0
10
11:Done
Note: See TracBrowser for help on using the repository browser.