diff --git a/build.cmd b/build.cmd index a1849153a..60538b617 100644 --- a/build.cmd +++ b/build.cmd @@ -1,15 +1,14 @@ -@echo off -if "%DC%"=="" set DC=dmd +@if "%DC%"=="" set DC=dmd -echo Generating version file... -set GITVER=unknown -for /f %%i in ('git describe') do set GITVER=%%i -echo module dub.version_; enum dubVersion = "%GITVER%"; > source\dub\version_.d +@echo Generating version file... +@set GITVER=unknown +@for /f %%i in ('git describe') do @set GITVER=%%i +@echo module dub.version_; enum dubVersion = "%GITVER%"; > source\dub\version_.d -echo Executing %DC%... -%DC% -ofbin\dub.exe -g -debug -w -version=DubUseCurl -Isource curl.lib %* @build-files.txt -if errorlevel 1 exit /b 1 +@echo Executing %DC%... +@%DC% -ofbin\dub.exe -g -debug -w -version=DubUseCurl -Isource curl.lib %* @build-files.txt +@if errorlevel 1 exit /b 1 -echo DUB has been built. You probably also want to add the following entry to your -echo PATH environment variable: -echo %CD%\bin \ No newline at end of file +@echo DUB has been built. You probably also want to add the following entry to your +@echo PATH environment variable: +@echo %CD%\bin