Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
Updating json files to pin versions and build.cmd to pin KoreBuild an…
Browse files Browse the repository at this point in the history
…d DNX
  • Loading branch information
pranavkm committed Jul 28, 2015
1 parent 2ff9cb6 commit cbf8755
Show file tree
Hide file tree
Showing 9 changed files with 12,397 additions and 39 deletions.
14 changes: 11 additions & 3 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,21 @@ copy %CACHED_NUGET% .nuget\nuget.exe > nul

:restore
IF EXIST packages\KoreBuild goto run
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
IF DEFINED BUILDCMD_RELEASE (
.nuget\NuGet.exe install KoreBuild -version 0.2.1-%BUILDCMD_RELEASE% -ExcludeVersion -o packages -nocache -pre
) ELSE (
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
)
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion

IF "%SKIP_DNX_INSTALL%"=="1" goto run
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
IF DEFINED BUILDCMD_RELEASE (
CALL packages\KoreBuild\build\dnvm install 1.0.0-%BUILDCMD_RELEASE% -runtime CLR -arch x86 -a default
) ELSE (
CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
)
CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -arch x86

:run
CALL packages\KoreBuild\build\dnvm use default -runtime CLR -arch x86
packages\Sake\tools\Sake.exe -I build -I packages\KoreBuild\build -f makefile.shade %*
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*
8 changes: 4 additions & 4 deletions samples/SampleApp/project.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"version": "1.0.0-*",
"dependencies": {
"Kestrel": "1.0.0-*"
"Kestrel": "1.0.0-beta6"
},
"frameworks": {
"dnx451": { },
"dnx451": {},
"dnxcore50": {
"dependencies": {
"System.Console": "4.0.0-beta-*"
"System.Console": "4.0.0-beta-23109"
}
}
},
"commands": {
"run": "Kestrel",
"web": "Microsoft.AspNet.Hosting"
}
}
}
Loading

0 comments on commit cbf8755

Please sign in to comment.