Merge pull request #605 from Nihlus/myget-parameter-workaround

Set NuGet packages to always build when building via MyGet
This commit is contained in:
Jarl Gullberg 2017-07-27 12:14:59 +02:00 committed by GitHub
commit 7da276864b
2 changed files with 8 additions and 3 deletions

View file

@ -15,4 +15,10 @@ IF NOT EXIST build.fsx (
.paket\paket.exe update .paket\paket.exe update
packages\FAKE\tools\FAKE.exe init.fsx 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%

View file

@ -33,5 +33,4 @@ run .paket/paket.exe restore
[ ! -e build.fsx ] && run .paket/paket.exe update [ ! -e build.fsx ] && run .paket/paket.exe update
[ ! -e build.fsx ] && run packages/FAKE/tools/FAKE.exe init.fsx [ ! -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