@echo off ::Project UppercuT - http://uppercut.googlecode.com ::No edits to this file are required - http://uppercut.pbwiki.com if '%2' NEQ '' goto usage if '%3' NEQ '' goto usage if '%1' == '/?' goto usage if '%1' == '-?' goto usage if '%1' == '?' goto usage if '%1' == '/help' goto usage SET DIR=%~d0%~p0% SET NANT="%DIR%lib\Nant\nant.exe" SET build.config.settings="%DIR%settings\UppercuT.config" %NANT% /f:.\build\compile.step -D:build.config.settings=%build.config.settings% if %ERRORLEVEL% NEQ 0 goto errors %NANT% /f:.\build\analyzers\moma.step %1 -D:build.config.settings=%build.config.settings% %NANT% /f:.\build\analyzers\moma.step open_results -D:build.config.settings=%build.config.settings% if %ERRORLEVEL% NEQ 0 goto errors goto finish :usage echo. echo Usage: moma.bat echo. goto finish :errors EXIT /B %ERRORLEVEL% :finish