mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
18 lines
No EOL
597 B
Batchfile
18 lines
No EOL
597 B
Batchfile
@REM Delete so if builder fails it wont exist
|
|
del source\Cosmos.Build.Builder\bin\Debug\Cosmos.Build.Builder.*
|
|
|
|
%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "source\Builder.sln" /nologo /maxcpucount /p:Configuration=Debug /p:Platform=x86
|
|
|
|
@if not exist source\Cosmos.Build.Builder\bin\Debug\Cosmos.Build.Builder.exe goto error
|
|
|
|
@for /f "tokens=4-6 delims=.] " %%i in ('ver') do set VERSION=%%i.%%j.%%k
|
|
|
|
start source\Cosmos.Build.Builder\bin\Debug\Cosmos.Build.Builder.exe -bat %1 %2 %3 %4 %5 %6 %7 %8 %9
|
|
|
|
@exit
|
|
|
|
:Error
|
|
@echo _
|
|
@echo _
|
|
@echo Something went wrong.
|
|
@pause |