2016-07-17 23:12:35 +02:00
|
|
|
@echo off
|
|
|
|
cls
|
|
|
|
|
|
|
|
.paket\paket.bootstrapper.exe
|
|
|
|
if errorlevel 1 (
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
|
|
|
|
|
|
|
.paket\paket.exe restore
|
|
|
|
if errorlevel 1 (
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
|
|
|
|
|
|
|
IF NOT EXIST build.fsx (
|
|
|
|
.paket\paket.exe update
|
|
|
|
packages\FAKE\tools\FAKE.exe init.fsx
|
|
|
|
)
|
2017-07-27 11:58:30 +02:00
|
|
|
|
2017-07-27 12:01:21 +02:00
|
|
|
SET BuildTarget=
|
2017-07-27 11:58:30 +02:00
|
|
|
if "%BuildRunner%" == "MyGet" (
|
|
|
|
SET BuildTarget=NuGet
|
|
|
|
)
|
|
|
|
|
|
|
|
packages\FAKE\tools\FAKE.exe build.fsx %* %BuildTarget%
|