Skip to content

Commit

Permalink
Ports Cake to .NET Core.
Browse files Browse the repository at this point in the history
This commit changes a lot of the interals in Cake to
allow it to run on the CoreCLR.

Closes #1015
  • Loading branch information
Patrik Svensson committed Aug 12, 2016
1 parent 95cb97b commit a49462f
Show file tree
Hide file tree
Showing 673 changed files with 5,437 additions and 11,598 deletions.
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@
[Tt]emp/
[Ll]ib/
[Pp]ackages/
/[Bb]uild/
/[Aa]rtifacts/
/[Tt]ools/
*.sln.ide/

# .NET CLI
/.dotnet/
dotnet-install.sh*
/.packages/

# Visual Studio
.vs/
.vscode/
launchSettings.json
project.lock.json

# Build related
build-results/
tools/Cake/
Expand Down
34 changes: 29 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,34 @@
language: csharp
script:
- ./build.sh
os:
- linux
- osx
- linux

# .NET CLI require Ubuntu 14.04
sudo: required
dist: trusty
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8

# .NET CLI require OSX 10.10
osx_image: xcode7.1
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi

mono:
- 4.2.3

script:
- ./build.sh --verbosity diagnostic

cache:
directories:
- src/packages
- tools
- .packages
- tools/Addins
- tools/gitreleasemanager
- tools/GitVersion.CommandLine
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ branches:

# Build cache
cache:
- src\packages -> src\**\packages.config
- tools -> build.cake, tools\packages.config
- tools -> build.cake
5 changes: 3 additions & 2 deletions bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Cake Bitbucket Pipeline
image: devlead/pipeline-mono
image: devlead/bitbucket-pipelines-dotnet

pipelines:
default:
- step:
script:
- ./build.sh
- ln -s /opt/dotnet .dotnet
- ./build.sh -t "Run-Unit-Tests"
Loading

0 comments on commit a49462f

Please sign in to comment.