commit
63ab46380e
9 changed files with 330 additions and 0 deletions
@ -0,0 +1,63 @@ |
|||||
|
############################################################################### |
||||
|
# Set default behavior to automatically normalize line endings. |
||||
|
############################################################################### |
||||
|
* text=auto |
||||
|
|
||||
|
############################################################################### |
||||
|
# Set default behavior for command prompt diff. |
||||
|
# |
||||
|
# This is need for earlier builds of msysgit that does not have it on by |
||||
|
# default for csharp files. |
||||
|
# Note: This is only used by command line |
||||
|
############################################################################### |
||||
|
#*.cs diff=csharp |
||||
|
|
||||
|
############################################################################### |
||||
|
# Set the merge driver for project and solution files |
||||
|
# |
||||
|
# Merging from the command prompt will add diff markers to the files if there |
||||
|
# are conflicts (Merging from VS is not affected by the settings below, in VS |
||||
|
# the diff markers are never inserted). Diff markers may cause the following |
||||
|
# file extensions to fail to load in VS. An alternative would be to treat |
||||
|
# these files as binary and thus will always conflict and require user |
||||
|
# intervention with every merge. To do so, just uncomment the entries below |
||||
|
############################################################################### |
||||
|
#*.sln merge=binary |
||||
|
#*.csproj merge=binary |
||||
|
#*.vbproj merge=binary |
||||
|
#*.vcxproj merge=binary |
||||
|
#*.vcproj merge=binary |
||||
|
#*.dbproj merge=binary |
||||
|
#*.fsproj merge=binary |
||||
|
#*.lsproj merge=binary |
||||
|
#*.wixproj merge=binary |
||||
|
#*.modelproj merge=binary |
||||
|
#*.sqlproj merge=binary |
||||
|
#*.wwaproj merge=binary |
||||
|
|
||||
|
############################################################################### |
||||
|
# behavior for image files |
||||
|
# |
||||
|
# image files are treated as binary by default. |
||||
|
############################################################################### |
||||
|
#*.jpg binary |
||||
|
#*.png binary |
||||
|
#*.gif binary |
||||
|
|
||||
|
############################################################################### |
||||
|
# diff behavior for common document formats |
||||
|
# |
||||
|
# Convert binary document formats to text before diffing them. This feature |
||||
|
# is only available from the command line. Turn it on by uncommenting the |
||||
|
# entries below. |
||||
|
############################################################################### |
||||
|
#*.doc diff=astextplain |
||||
|
#*.DOC diff=astextplain |
||||
|
#*.docx diff=astextplain |
||||
|
#*.DOCX diff=astextplain |
||||
|
#*.dot diff=astextplain |
||||
|
#*.DOT diff=astextplain |
||||
|
#*.pdf diff=astextplain |
||||
|
#*.PDF diff=astextplain |
||||
|
#*.rtf diff=astextplain |
||||
|
#*.RTF diff=astextplain |
||||
@ -0,0 +1,166 @@ |
|||||
|
## Ignore Visual Studio temporary files, build results, and |
||||
|
## files generated by popular Visual Studio add-ons. |
||||
|
|
||||
|
# VS 14 temporary folder |
||||
|
*.sln.ide/ |
||||
|
target/ |
||||
|
.nuget/ |
||||
|
.vs/ |
||||
|
|
||||
|
# User-specific files |
||||
|
*.suo |
||||
|
*.user |
||||
|
*.sln.docstates |
||||
|
project.lock.json |
||||
|
_references.js |
||||
|
|
||||
|
# Build results |
||||
|
|
||||
|
[Dd]ebug/ |
||||
|
[Rr]elease/ |
||||
|
x64/ |
||||
|
build/ |
||||
|
[Bb]in/ |
||||
|
[Oo]bj/ |
||||
|
|
||||
|
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets |
||||
|
!packages/*/build/ |
||||
|
|
||||
|
# MSTest test Results |
||||
|
[Tt]est[Rr]esult*/ |
||||
|
[Bb]uild[Ll]og.* |
||||
|
|
||||
|
*_i.c |
||||
|
*_p.c |
||||
|
*.ilk |
||||
|
*.meta |
||||
|
*.obj |
||||
|
*.pch |
||||
|
*.pdb |
||||
|
*.pgc |
||||
|
*.pgd |
||||
|
*.rsp |
||||
|
*.sbr |
||||
|
*.tlb |
||||
|
*.tli |
||||
|
*.tlh |
||||
|
*.tmp |
||||
|
*.tmp_proj |
||||
|
*.log |
||||
|
*.vspscc |
||||
|
*.vssscc |
||||
|
.builds |
||||
|
*.pidb |
||||
|
*.log |
||||
|
*.scc |
||||
|
|
||||
|
# Visual C++ cache files |
||||
|
ipch/ |
||||
|
*.aps |
||||
|
*.ncb |
||||
|
*.opensdf |
||||
|
*.sdf |
||||
|
*.cachefile |
||||
|
|
||||
|
# Visual Studio profiler |
||||
|
*.psess |
||||
|
*.vsp |
||||
|
*.vspx |
||||
|
|
||||
|
# Guidance Automation Toolkit |
||||
|
*.gpState |
||||
|
|
||||
|
# ReSharper is a .NET coding add-in |
||||
|
_ReSharper*/ |
||||
|
*.[Rr]e[Ss]harper |
||||
|
|
||||
|
# TeamCity is a build add-in |
||||
|
_TeamCity* |
||||
|
|
||||
|
# DotCover is a Code Coverage Tool |
||||
|
*.dotCover |
||||
|
|
||||
|
# NCrunch |
||||
|
*.ncrunch* |
||||
|
.*crunch*.local.xml |
||||
|
|
||||
|
# Installshield output folder |
||||
|
[Ee]xpress/ |
||||
|
|
||||
|
# DocProject is a documentation generator add-in |
||||
|
DocProject/buildhelp/ |
||||
|
DocProject/Help/*.HxT |
||||
|
DocProject/Help/*.HxC |
||||
|
DocProject/Help/*.hhc |
||||
|
DocProject/Help/*.hhk |
||||
|
DocProject/Help/*.hhp |
||||
|
DocProject/Help/Html2 |
||||
|
DocProject/Help/html |
||||
|
|
||||
|
# Click-Once directory |
||||
|
publish/ |
||||
|
|
||||
|
# Publish Web Output |
||||
|
*.Publish.xml |
||||
|
|
||||
|
# NuGet Packages Directory |
||||
|
## TODO: If you have NuGet Package Restore enabled, uncomment the next line |
||||
|
packages/ |
||||
|
|
||||
|
# NodeJS modules |
||||
|
node_modules/ |
||||
|
|
||||
|
# Windows Azure Build Output |
||||
|
csx |
||||
|
*.build.csdef |
||||
|
|
||||
|
# Windows Store app package directory |
||||
|
AppPackages/ |
||||
|
|
||||
|
# Others |
||||
|
sql/ |
||||
|
*.Cache |
||||
|
ClientBin/ |
||||
|
[Ss]tyle[Cc]op.* |
||||
|
~$* |
||||
|
*~ |
||||
|
*.dbmdl |
||||
|
*.[Pp]ublish.xml |
||||
|
*.publishsettings |
||||
|
|
||||
|
# RIA/Silverlight projects |
||||
|
Generated_Code/ |
||||
|
|
||||
|
# Backup & report files from converting an old project file to a newer |
||||
|
# Visual Studio version. Backup files are not needed, because we have git ;-) |
||||
|
_UpgradeReport_Files/ |
||||
|
Backup*/ |
||||
|
UpgradeLog*.XML |
||||
|
UpgradeLog*.htm |
||||
|
|
||||
|
# SQL Server files |
||||
|
*.mdf |
||||
|
*.ldf |
||||
|
|
||||
|
|
||||
|
#LightSwitch generated files |
||||
|
GeneratedArtifacts/ |
||||
|
_Pvt_Extensions/ |
||||
|
ModelManifest.xml |
||||
|
|
||||
|
# ========================= |
||||
|
# Windows detritus |
||||
|
# ========================= |
||||
|
|
||||
|
# Windows image file caches |
||||
|
Thumbs.db |
||||
|
ehthumbs.db |
||||
|
|
||||
|
# Folder config file |
||||
|
Desktop.ini |
||||
|
|
||||
|
# Recycle Bin used on file shares |
||||
|
$RECYCLE.BIN/ |
||||
|
|
||||
|
# Mac desktop service store files |
||||
|
.DS_Store |
||||
@ -0,0 +1,7 @@ |
|||||
|
language: csharp |
||||
|
sudo: false |
||||
|
script: |
||||
|
- ./build.sh verify |
||||
|
mono: |
||||
|
- alpha |
||||
|
- latest |
||||
@ -0,0 +1,12 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<configuration> |
||||
|
<packageSources> |
||||
|
<add key="aspnet-contrib" value="https://www.myget.org/F/aspnet-contrib/api/v2" /> |
||||
|
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" /> |
||||
|
<add key="WebStack Nightly" value="http://www.myget.org/f/aspnetwebstacknightly/" /> |
||||
|
<add key="AzureAd Nightly" value="http://www.myget.org/F/azureadwebstacknightly/" /> |
||||
|
<add key="Roslyn" value="https://www.myget.org/F/roslyn-nightly" /> |
||||
|
<add key="DotNetFx" value="https://www.myget.org/F/dotnet-corefx" /> |
||||
|
<add key="NuGet.org" value="https://nuget.org/api/v2/" /> |
||||
|
</packageSources> |
||||
|
</configuration> |
||||
@ -0,0 +1,10 @@ |
|||||
|
|
||||
|
Microsoft Visual Studio Solution File, Format Version 12.00 |
||||
|
# Visual Studio 14 |
||||
|
VisualStudioVersion = 14.0.23107.0 |
||||
|
MinimumVisualStudioVersion = 10.0.40219.1 |
||||
|
Global |
||||
|
GlobalSection(SolutionProperties) = preSolution |
||||
|
HideSolutionNode = FALSE |
||||
|
EndGlobalSection |
||||
|
EndGlobal |
||||
@ -0,0 +1,26 @@ |
|||||
|
@echo off |
||||
|
cd %~dp0 |
||||
|
|
||||
|
SETLOCAL |
||||
|
SET CACHED_NUGET="%LocalAppData%\NuGet\NuGet.exe" |
||||
|
|
||||
|
IF EXIST %CACHED_NUGET% goto copynuget |
||||
|
echo Downloading latest version of NuGet.exe... |
||||
|
IF NOT EXIST "%LocalAppData%\NuGet" md "%LocalAppData%\NuGet" |
||||
|
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://www.nuget.org/nuget.exe' -OutFile '%CACHED_NUGET%'" |
||||
|
|
||||
|
:copynuget |
||||
|
IF EXIST .nuget\nuget.exe goto restore |
||||
|
md .nuget |
||||
|
copy %CACHED_NUGET% .nuget\nuget.exe > nul |
||||
|
|
||||
|
:restore |
||||
|
IF EXIST packages\KoreBuild goto run |
||||
|
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre |
||||
|
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion |
||||
|
CALL packages\KoreBuild\build\dnvm upgrade -runtime clr -arch x86 |
||||
|
CALL packages\KoreBuild\build\dnvm install default -runtime clr -arch x86 |
||||
|
|
||||
|
:run |
||||
|
CALL packages\KoreBuild\build\dnvm use default -runtime clr -arch x86 |
||||
|
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -I build -f makefile.shade %* |
||||
@ -0,0 +1,39 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
|
if test `uname` = Darwin; then |
||||
|
cachedir=~/Library/Caches/KBuild |
||||
|
else |
||||
|
if [ -z $XDG_DATA_HOME ]; then |
||||
|
cachedir=$HOME/.local/share |
||||
|
else |
||||
|
cachedir=$XDG_DATA_HOME; |
||||
|
fi |
||||
|
fi |
||||
|
mkdir -p $cachedir |
||||
|
|
||||
|
url=https://www.nuget.org/nuget.exe |
||||
|
|
||||
|
if test ! -f $cachedir/nuget.exe; then |
||||
|
wget -O $cachedir/nuget.exe $url 2>/dev/null || curl -o $cachedir/nuget.exe --location $url /dev/null |
||||
|
fi |
||||
|
|
||||
|
if test ! -e .nuget; then |
||||
|
mkdir .nuget |
||||
|
cp $cachedir/nuget.exe .nuget/nuget.exe |
||||
|
fi |
||||
|
|
||||
|
if test ! -d packages/KoreBuild; then |
||||
|
mono .nuget/nuget.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre |
||||
|
mono .nuget/nuget.exe install Sake -version 0.2 -o packages -ExcludeVersion |
||||
|
fi |
||||
|
|
||||
|
if ! type dnvm > /dev/null 2>&1; then |
||||
|
source packages/KoreBuild/build/dnvm.sh |
||||
|
fi |
||||
|
|
||||
|
if ! type dnx > /dev/null 2>&1; then |
||||
|
dnvm upgrade |
||||
|
fi |
||||
|
|
||||
|
mono packages/Sake/tools/Sake.exe -I packages/KoreBuild/build -f makefile.shade "$@" |
||||
|
|
||||
@ -0,0 +1 @@ |
|||||
|
{ "sources": [ "src" ] } |
||||
@ -0,0 +1,6 @@ |
|||||
|
var VERSION='1.0.0' |
||||
|
var FULL_VERSION='1.0.0' |
||||
|
var AUTHORS='openiddict' |
||||
|
|
||||
|
use-standard-lifecycle |
||||
|
k-standard-goals |
||||
Loading…
Reference in new issue