diff --git a/build.cmd b/build.cmd index 79c3cd5c..269b98b3 100644 --- a/build.cmd +++ b/build.cmd @@ -15,4 +15,10 @@ IF NOT EXIST build.fsx ( .paket\paket.exe update packages\FAKE\tools\FAKE.exe init.fsx ) -packages\FAKE\tools\FAKE.exe build.fsx %* + +SET BuildTarget= +if "%BuildRunner%" == "MyGet" ( + SET BuildTarget=NuGet +) + +packages\FAKE\tools\FAKE.exe build.fsx %* %BuildTarget% \ No newline at end of file diff --git a/build.sh b/build.sh index fe082dd3..576d97e2 100755 --- a/build.sh +++ b/build.sh @@ -33,5 +33,4 @@ run .paket/paket.exe restore [ ! -e build.fsx ] && run .paket/paket.exe update [ ! -e build.fsx ] && run packages/FAKE/tools/FAKE.exe init.fsx -run packages/FAKE/tools/FAKE.exe "$@" $FSIARGS build.fsx - +run packages/FAKE/tools/FAKE.exe "$@" $FSIARGS build.fsx \ No newline at end of file