Add check for MyGet as the build runner and strip trailing newlines.

This commit is contained in:
Jarl Gullberg 2017-07-27 11:58:30 +02:00
parent bde5badee9
commit 9386ca769d
No known key found for this signature in database
GPG key ID: 750FF6F6BDA72D23

View file

@ -15,4 +15,9 @@ IF NOT EXIST build.fsx (
.paket\paket.exe update
packages\FAKE\tools\FAKE.exe init.fsx
)
packages\FAKE\tools\FAKE.exe build.fsx %*
if "%BuildRunner%" == "MyGet" (
SET BuildTarget=NuGet
)
packages\FAKE\tools\FAKE.exe build.fsx %* %BuildTarget%