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

Commit 797d693

Browse files
committed
Initial commit, empty MemoryCache project.
0 parents  commit 797d693

File tree

10 files changed

+235
-0
lines changed

10 files changed

+235
-0
lines changed

.gitattributes

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
*.doc diff=astextplain
2+
*.DOC diff=astextplain
3+
*.docx diff=astextplain
4+
*.DOCX diff=astextplain
5+
*.dot diff=astextplain
6+
*.DOT diff=astextplain
7+
*.pdf diff=astextplain
8+
*.PDF diff=astextplain
9+
*.rtf diff=astextplain
10+
*.RTF diff=astextplain
11+
12+
*.jpg binary
13+
*.png binary
14+
*.gif binary
15+
16+
*.cs text=auto diff=csharp
17+
*.vb text=auto
18+
*.resx text=auto
19+
*.c text=auto
20+
*.cpp text=auto
21+
*.cxx text=auto
22+
*.h text=auto
23+
*.hxx text=auto
24+
*.py text=auto
25+
*.rb text=auto
26+
*.java text=auto
27+
*.html text=auto
28+
*.htm text=auto
29+
*.css text=auto
30+
*.scss text=auto
31+
*.sass text=auto
32+
*.less text=auto
33+
*.js text=auto
34+
*.lisp text=auto
35+
*.clj text=auto
36+
*.sql text=auto
37+
*.php text=auto
38+
*.lua text=auto
39+
*.m text=auto
40+
*.asm text=auto
41+
*.erl text=auto
42+
*.fs text=auto
43+
*.fsx text=auto
44+
*.hs text=auto
45+
46+
*.csproj text=auto
47+
*.vbproj text=auto
48+
*.fsproj text=auto
49+
*.dbproj text=auto
50+
*.sln text=auto eol=crlf

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[Oo]bj/
2+
[Bb]in/
3+
TestResults/
4+
.nuget/
5+
*.sln.ide/
6+
_ReSharper.*/
7+
packages/
8+
artifacts/
9+
PublishProfiles/
10+
*.user
11+
*.suo
12+
*.cache
13+
*.docstates
14+
_ReSharper.*
15+
nuget.exe
16+
*net45.csproj
17+
*net451.csproj
18+
*k10.csproj
19+
*.psess
20+
*.vsp
21+
*.pidb
22+
*.userprefs
23+
*DS_Store
24+
*.ncrunchsolution
25+
*.*sdf
26+
*.ipch

Microsoft.AspNet.MemoryCache.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.21916.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.MemoryCache", "src\Microsoft.AspNet.MemoryCache\Microsoft.AspNet.MemoryCache.kproj", "{966D16D8-5D4E-4433-9DA7-F53EE44B7EE7}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{966D16D8-5D4E-4433-9DA7-F53EE44B7EE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{966D16D8-5D4E-4433-9DA7-F53EE44B7EE7}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{966D16D8-5D4E-4433-9DA7-F53EE44B7EE7}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{966D16D8-5D4E-4433-9DA7-F53EE44B7EE7}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal

NuGet.Config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" />
5+
<add key="NuGet.org" value="https://nuget.org/api/v2/" />
6+
</packageSources>
7+
</configuration>

build.cmd

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
@echo off
2+
cd %~dp0
3+
4+
SETLOCAL
5+
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe
6+
7+
IF EXIST %CACHED_NUGET% goto copynuget
8+
echo Downloading latest version of NuGet.exe...
9+
IF NOT EXIST %LocalAppData%\NuGet md %LocalAppData%\NuGet
10+
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://www.nuget.org/nuget.exe' -OutFile '%CACHED_NUGET%'"
11+
12+
:copynuget
13+
IF EXIST .nuget\nuget.exe goto restore
14+
md .nuget
15+
copy %CACHED_NUGET% .nuget\nuget.exe > nul
16+
17+
:restore
18+
IF EXIST packages\KoreBuild goto run
19+
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
20+
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
21+
22+
IF "%SKIP_KRE_INSTALL%"=="1" goto run
23+
CALL packages\KoreBuild\build\kvm upgrade -svr50 -x86
24+
CALL packages\KoreBuild\build\kvm install default -svrc50 -x86
25+
26+
:run
27+
CALL packages\KoreBuild\build\kvm use default -svr50 -x86
28+
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*

build.sh

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/bin/sh
2+
3+
if test `uname` = Darwin; then
4+
cachedir=~/Library/Caches/KBuild
5+
else
6+
if [ -z $XDG_DATA_HOME ]; 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/nuget.exe
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+
if ! type k > /dev/null 2>&1; then
31+
source setup/kvm.sh
32+
fi
33+
34+
if ! type k > /dev/null 2>&1; then
35+
kvm upgrade
36+
fi
37+
38+
mono packages/Sake/tools/Sake.exe -I packages/KoreBuild/build -f makefile.shade "$@"

global.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"sources": ["src"]
3+
}

makefile.shade

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
var VERSION='0.1'
3+
var FULL_VERSION='0.1'
4+
var AUTHORS='Microsoft Open Technologies, Inc.'
5+
6+
use-standard-lifecycle
7+
k-standard-goals
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="__ToolsVersion__" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">12.0</VisualStudioVersion>
5+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
6+
</PropertyGroup>
7+
<Import Project="$(VSToolsPath)\AspNet\Microsoft.Web.AspNet.Props" Condition="'$(VSToolsPath)' != ''" />
8+
<PropertyGroup Label="Globals">
9+
<ProjectGuid>966d16d8-5d4e-4433-9da7-f53ee44b7ee7</ProjectGuid>
10+
<OutputType>Library</OutputType>
11+
</PropertyGroup>
12+
13+
<PropertyGroup Condition="$(OutputType) == 'Console'">
14+
<DebuggerFlavor>ConsoleDebugger</DebuggerFlavor>
15+
</PropertyGroup>
16+
<PropertyGroup Condition="$(OutputType) == 'Web'">
17+
<DebuggerFlavor>WebDebugger</DebuggerFlavor>
18+
</PropertyGroup>
19+
20+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
21+
</PropertyGroup>
22+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" Label="Configuration">
23+
</PropertyGroup>
24+
<PropertyGroup>
25+
<SchemaVersion>2.0</SchemaVersion>
26+
</PropertyGroup>
27+
<ItemGroup>
28+
<Content Include="Project.json" />
29+
</ItemGroup>
30+
<Import Project="$(VSToolsPath)\AspNet\Microsoft.Web.AspNet.targets" Condition="'$(VSToolsPath)' != ''" />
31+
</Project>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"version": "1.0.0-*",
3+
"dependencies": {},
4+
"frameworks": {
5+
"net45": {},
6+
"k10": {
7+
"dependencies": {
8+
"System.Collections": "4.0.10.0",
9+
"System.ComponentModel": "4.0.0.0",
10+
"System.Diagnostics.Tools": "4.0.0.0",
11+
"System.Globalization": "4.0.10.0",
12+
"System.Globalization.Extensions": "4.0.0.0",
13+
"System.IO": "4.0.0.0",
14+
"System.Linq": "4.0.0.0",
15+
"System.Runtime": "4.0.20.0",
16+
"System.Runtime.Extensions": "4.0.10.0",
17+
"System.Runtime.InteropServices": "4.0.20.0",
18+
"System.Security.Principal" : "4.0.0.0",
19+
"System.Threading.Tasks": "4.0.10.0"
20+
}
21+
}
22+
}
23+
}

0 commit comments

Comments
 (0)