Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (24 sloc) 0.865 kb
@echo off
set nantfile=Ninject.build
set nantexe=tools\nant\nant.exe
set buildlog=Ninject-Nant-Build.log
set unittestlog=Ninject-Nant-unit-tests.log
%nantexe% -buildfile:%nantfile% clean %1 %2 %3 %4 %5 %6 %7 %8
IF ERRORLEVEL 1 GOTO Failed
%nantexe% -buildfile:%nantfile% package-source %1 %2 %3 %4 %5 %6 %7 %8
IF ERRORLEVEL 1 GOTO Failed
%nantexe% -buildfile:%nantfile% "-D:build.config=release" allPlatforms %1 %2 %3 %4 %5 %6 %7 %8
IF ERRORLEVEL 1 GOTO Failed
%nantexe% -buildfile:%nantfile% -q -nologo revert
IF ERRORLEVEL 1 GOTO Failed
echo "Release build completed."
GOTO End
:Failed
%nantexe% -buildfile:%nantfile% -q -nologo revert
echo "============================================================"
echo "BUILD FAILED"
echo "============================================================"
:End
if "%NoPause%"=="true" goto ENDBATCHFILE
pause
:ENDBATCHFILE
Jump to Line
Something went wrong with that request. Please try again.