-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #9
- Loading branch information
Showing
7 changed files
with
122 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
*.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 | ||
|
||
*.jpg binary | ||
*.png binary | ||
*.gif binary | ||
|
||
*.cs text=auto diff=csharp | ||
*.vb text=auto | ||
*.resx text=auto | ||
*.c text=auto | ||
*.cpp text=auto | ||
*.cxx text=auto | ||
*.h text=auto | ||
*.hxx text=auto | ||
*.py text=auto | ||
*.rb text=auto | ||
*.java text=auto | ||
*.html text=auto | ||
*.htm text=auto | ||
*.css text=auto | ||
*.scss text=auto | ||
*.sass text=auto | ||
*.less text=auto | ||
*.js text=auto | ||
*.lisp text=auto | ||
*.clj text=auto | ||
*.sql text=auto | ||
*.php text=auto | ||
*.lua text=auto | ||
*.m text=auto | ||
*.asm text=auto | ||
*.erl text=auto | ||
*.fs text=auto | ||
*.fsx text=auto | ||
*.hs text=auto | ||
|
||
*.csproj text=auto | ||
*.vbproj text=auto | ||
*.fsproj text=auto | ||
*.dbproj text=auto | ||
*.sln text=auto eol=crlf | ||
|
||
*.sh eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
init: | ||
- git config --global core.autocrlf true | ||
build_script: | ||
- build.cmd --quiet --parallel verify | ||
- build.cmd --quiet verify | ||
clone_depth: 1 | ||
test: off | ||
deploy: off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
@echo off | ||
cd %~dp0 | ||
|
||
@ECHO off | ||
SETLOCAL | ||
|
||
SET REPO_FOLDER=%~dp0 | ||
CD "%REPO_FOLDER%" | ||
|
||
SET BUILD_FOLDER=.build | ||
SET KOREBUILD_FOLDER=%BUILD_FOLDER%\KoreBuild-dotnet | ||
SET KOREBUILD_VERSION= | ||
|
||
SET NUGET_PATH=%BUILD_FOLDER%\NuGet.exe | ||
SET NUGET_VERSION=latest | ||
SET CACHED_NUGET=%LocalAppData%\NuGet\nuget.%NUGET_VERSION%.exe | ||
SET BUILDCMD_KOREBUILD_VERSION= | ||
SET BUILDCMD_DNX_VERSION= | ||
|
||
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://dist.nuget.org/win-x86-commandline/%NUGET_VERSION%/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\Sake goto getdnx | ||
IF "%BUILDCMD_KOREBUILD_VERSION%"=="" ( | ||
.nuget\nuget.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre | ||
) ELSE ( | ||
.nuget\nuget.exe install KoreBuild -version %BUILDCMD_KOREBUILD_VERSION% -ExcludeVersion -o packages -nocache -pre | ||
|
||
IF NOT EXIST %BUILD_FOLDER% ( | ||
md %BUILD_FOLDER% | ||
) | ||
.nuget\NuGet.exe install Sake -ExcludeVersion -Source https://www.nuget.org/api/v2/ -Out packages | ||
|
||
:getdnx | ||
IF "%BUILDCMD_DNX_VERSION%"=="" ( | ||
SET BUILDCMD_DNX_VERSION=latest | ||
IF NOT EXIST %NUGET_PATH% ( | ||
IF NOT EXIST %CACHED_NUGET% ( | ||
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://dist.nuget.org/win-x86-commandline/%NUGET_VERSION%/nuget.exe' -OutFile '%CACHED_NUGET%'" | ||
) | ||
|
||
copy %CACHED_NUGET% %NUGET_PATH% > nul | ||
) | ||
IF "%SKIP_DNX_INSTALL%"=="" ( | ||
CALL packages\KoreBuild\build\dnvm install %BUILDCMD_DNX_VERSION% -runtime CoreCLR -arch x86 -alias default | ||
CALL packages\KoreBuild\build\dnvm install default -runtime CLR -arch x86 -alias default | ||
) ELSE ( | ||
CALL packages\KoreBuild\build\dnvm use default -runtime CLR -arch x86 | ||
|
||
IF NOT EXIST %KOREBUILD_FOLDER% ( | ||
SET KOREBUILD_DOWNLOAD_ARGS= | ||
IF NOT "%KOREBUILD_VERSION%"=="" ( | ||
SET KOREBUILD_DOWNLOAD_ARGS=-version %KOREBUILD_VERSION% | ||
) | ||
|
||
%BUILD_FOLDER%\nuget.exe install KoreBuild-dotnet -ExcludeVersion -o %BUILD_FOLDER% -nocache -pre %KOREBUILD_DOWNLOAD_ARGS% | ||
) | ||
|
||
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %* | ||
"%KOREBUILD_FOLDER%\build\KoreBuild.cmd" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters