Updated the build files.

This commit is contained in:
David Fowler 2014-01-28 22:18:20 -08:00
parent 73dae5fcaa
commit 29009fe3af
2 changed files with 12 additions and 22 deletions

27
.gitignore vendored
View File

@ -1,31 +1,22 @@
[Oo]bj/ [Oo]bj/
[Bb]in/ [Bb]in/
*.xap TestResults/
.nuget/
_ReSharper.*/
packages/
artifacts/
PublishProfiles/
*.user *.user
/TestResults
*.vspscc
*.vssscc
*.suo *.suo
*.cache *.cache
*.docstates *.docstates
_ReSharper.* _ReSharper.*
*.csproj.user nuget.exe
*[Rr]e[Ss]harper.user *net45.csproj
_ReSharper.*/ *k10.csproj
packages/*
artifacts/*
msbuild.log
PublishProfiles/
*.psess *.psess
*.vsp *.vsp
*.pidb *.pidb
*.userprefs *.userprefs
*DS_Store *DS_Store
*.ncrunchsolution *.ncrunchsolution
*.log
*.vspx
/.symbols
nuget.exe
build/
*net45.csproj
*k10.csproj

View File

@ -7,10 +7,9 @@ md .nuget
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://www.nuget.org/nuget.exe' -OutFile '.nuget\NuGet.exe'" @powershell -NoProfile -ExecutionPolicy unrestricted -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://www.nuget.org/nuget.exe' -OutFile '.nuget\NuGet.exe'"
:restore :restore
IF EXIST build goto run IF EXIST packages\KoreBuild goto run
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre .nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
xcopy packages\KoreBuild\build build\ /Y .nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
.nuget\NuGet.exe install Sake -version 0.2 -o packages
:run :run
packages\Sake.0.2\tools\Sake.exe -I build -f makefile.shade %* packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*