Skip to content
This repository was archived by the owner on Nov 22, 2018. It is now read-only.

Commit f0d564c

Browse files
committed
Updating build scripts
1 parent 29041ea commit f0d564c

File tree

4 files changed

+37
-1
lines changed

4 files changed

+37
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ PublishProfiles/
1313
_ReSharper.*
1414
nuget.exe
1515
*net45.csproj
16+
*net451.csproj
1617
*k10.csproj
1718
*.psess
1819
*.vsp
1920
*.pidb
2021
*.userprefs
2122
*DS_Store
2223
*.ncrunchsolution
24+
*.*sdf
25+
*.ipch

NuGet.Config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4-
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2/" />
4+
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" />
55
<add key="NuGet.org" value="https://nuget.org/api/v2/" />
66
</packageSources>
77
<packageSourceCredentials>

build.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ copy %CACHED_NUGET% .nuget\nuget.exe > nul
1818
IF EXIST packages\KoreBuild goto run
1919
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
2020
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
21+
CALL packages\KoreBuild\build\kvm install -svr50 -x86
22+
CALL packages\KoreBuild\build\kvm install -svrc50 -x86
2123

2224
:run
25+
CALL packages\KoreBuild\build\kvm use default -svr50 -x86
2326
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*

build.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/sh
2+
3+
if test `uname` = Darwin; then
4+
cachedir=~/Library/Caches/KBuild
5+
else
6+
if x$XDG_DATA_HOME = x; then
7+
cachedir=$HOME/.local/share
8+
else
9+
cachedir=$XDG_DATA_HOME;
10+
fi
11+
fi
12+
mkdir -p $cachedir
13+
14+
url=https://www.nuget.org/nuget.exe
15+
16+
if test ! -f $cachedir/nuget.exe; then
17+
wget -o $cachedir/nuget.exe $url 2>/dev/null || curl -o $cachedir/nuget.exe --location $url /dev/null
18+
fi
19+
20+
if test ! -e .nuget; then
21+
mkdir .nuget
22+
cp $cachedir/nuget.exe .nuget
23+
fi
24+
25+
if test ! -d packages/KoreBuild; then
26+
mono .nuget/nuget.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
27+
mono .nuget/nuget.exe install Sake -version 0.2 -o packages -ExcludeVersion
28+
fi
29+
30+
mono packages/Sake/tools/Sake.exe -I packages/KoreBuild/build -f makefile.shade "$@"

0 commit comments

Comments
 (0)