Skip to content

Commit

Permalink
Merge branch 'release/0.14.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
gep13 committed Jul 11, 2016
2 parents f7346f2 + c14312c commit 295cea6
Show file tree
Hide file tree
Showing 1,109 changed files with 8,735 additions and 2,210 deletions.
7 changes: 6 additions & 1 deletion GitReleaseManager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@ issue-labels-include:
- Feature
- Improvement
- Documentation
- Breaking change
issue-labels-exclude:
- Build
- Build
issue-labels-alias:
- name: Documentation
header: Documentation
plural: Documentation
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) Patrik Svensson, Mattias Karlsson, Gary Ewan Park and contributors
Copyright (c) .NET Foundation and Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,13 @@ Cake is provided as-is under the MIT license. For more information see [LICENSE]
## Thanks

A big thank you has to go to [JetBrains](https://www.jetbrains.com) who provide each of the Cake Developers with an [Open Source License](https://www.jetbrains.com/support/community/#section=open-source) for [ReSharper](https://www.jetbrains.com/resharper/) that helps with the development of Cake.

## Code of Conduct

This project has adopted the code of conduct defined by the [Contributor Covenant](http://contributor-covenant.org/)
to clarify expected behavior in our community.
For more information see the [.NET Foundation Code of Conduct](http://www.dotnetfoundation.org/code-of-conduct).

## .NET Foundation

This project is supported by the [.NET Foundation](http://www.dotnetfoundation.org).
21 changes: 21 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
### New on 0.14.0 (Released 2016/07/11)

* Remove obsoleted XmlPoke Aliases
* ToolSettings should allow should support of exit codes other than 0
* Add support for skipautoprops flag OpenCover Alias
* Support Octopus Deploy Push (octo.exe push)
* Add WiX heat support
* Cake looks for configuration file in the wrong place
* Wrong platform "Any CPU" for project file (expects "AnyCPU")
* Change parameter names passed by GitVersion Alias
* Improve logging with NuGet Install Alias
* Additional null checks for module support
* Suppress obsolete warnings on Mono
* Add known parameters to CakeOptions
* Add working directory to ToolSettings class
* Refactor ICakeEnvironment
* Allow setting `/testsettings:` file for MSTest runner
* Corrected documentation for Directory Alias
* Corrected documentation for DotNetBuild Alias


### New on 0.13.0 (Released 2016/06/07)

* DotNetCoreTest() alias calls DotNetCoreRun()
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ branches:
# Build cache
cache:
- src\packages -> src\**\packages.config
- tools -> tools\packages.config
- tools -> build.cake
7 changes: 6 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// Install tools.
#tool "nuget:?package=xunit.runner.console&version=2.1.0"
#tool "nuget:?package=gitreleasemanager&version=0.4.0"
#tool "nuget:?package=gitreleasemanager&version=0.5.0"
#tool "nuget:?package=GitVersion.CommandLine&version=3.4.1"

// Load other scripts.
Expand All @@ -25,6 +25,11 @@ bool publishingError = false;

Setup(context =>
{
if(parameters.IsMainCakeBranch && (context.Log.Verbosity != Verbosity.Diagnostic)) {
Information("Increasing verbosity to diagnostic.");
context.Log.Verbosity = Verbosity.Diagnostic;
}
parameters.SetBuildVersion(
BuildVersion.CalculatingSemanticVersion(
context: Context,
Expand Down
2 changes: 1 addition & 1 deletion nuspec/Cake.Common.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<projectUrl>https://github.com/cake-build/cake</projectUrl>
<iconUrl>https://raw.githubusercontent.com/cake-build/graphics/master/png/cake-medium.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<copyright>Copyright (c) Patrik Svensson, Mattias Karlsson, Gary Ewan Park and contributors</copyright>
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
<tags>Cake Script Build</tags>
<developmentDependency>true</developmentDependency>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion nuspec/Cake.Core.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<projectUrl>https://github.com/cake-build/cake</projectUrl>
<iconUrl>https://raw.githubusercontent.com/cake-build/graphics/master/png/cake-medium.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<copyright>Copyright (c) Patrik Svensson, Mattias Karlsson, Gary Ewan Park and contributors</copyright>
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
<tags>Cake Script Build</tags>
</metadata>
<files>
Expand Down
2 changes: 1 addition & 1 deletion nuspec/Cake.Portable.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<!--<mailingListUrl></mailingListUrl>-->
<bugTrackerUrl>https://github.com/cake-build/cake/issues</bugTrackerUrl>
<tags>Cake Script Build</tags>
<copyright>Copyright (c) Patrik Svensson, Mattias Karlsson, Gary Ewan Park and contributors</copyright>
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
<licenseUrl>https://github.com/cake-build/cake/blob/develop/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://raw.githubusercontent.com/cake-build/graphics/master/png/cake-medium.png</iconUrl>
Expand Down
2 changes: 1 addition & 1 deletion nuspec/Cake.Testing.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<projectUrl>https://github.com/cake-build/cake</projectUrl>
<iconUrl>https://raw.githubusercontent.com/cake-build/graphics/master/png/cake-medium.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<copyright>Copyright (c) Patrik Svensson, Mattias Karlsson, Gary Ewan Park and contributors</copyright>
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
<tags>Cake Script Build</tags>
<dependencies>
<dependency id="Cake.Core" version="$version$" />
Expand Down
2 changes: 1 addition & 1 deletion nuspec/Cake.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<projectUrl>https://github.com/cake-build/cake</projectUrl>
<iconUrl>https://raw.githubusercontent.com/cake-build/graphics/master/png/cake-medium.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<copyright>Copyright (c) Patrik Svensson, Mattias Karlsson, Gary Ewan Park and contributors</copyright>
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
<tags>Cake Script Build</tags>
</metadata>
<files>
Expand Down
5 changes: 5 additions & 0 deletions src/Cake.Common.Tests/Cake.Common.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
<Compile Include="Fixtures\Tools\DNU\DNUFixture.cs" />
<Compile Include="Fixtures\Tools\DNU\Pack\DNUPackerFixture.cs" />
<Compile Include="Fixtures\Tools\DNU\Restorer\DNURestorerFixture.cs" />
<Compile Include="Fixtures\Tools\OctopusDeployPusherFixture.cs" />
<Compile Include="Fixtures\Tools\VSTestRunnerFixture.cs" />
<Compile Include="Fixtures\Tools\SpecFlow\StepDefinitionReport\SpecFlowStepDefinitionReporterFixture.cs" />
<Compile Include="Fixtures\Tools\SpecFlow\TestExecutionReport\SpecFlowTestExecutionReporterFixture.cs" />
Expand Down Expand Up @@ -168,6 +169,7 @@
<Compile Include="Fixtures\TextTransformationFixture.cs" />
<Compile Include="Fixtures\Tools\TextTransform\TextTransformFixture.cs" />
<Compile Include="Fixtures\Tools\WiXFixture.cs" />
<Compile Include="Fixtures\Tools\WiX\HeatFixture.cs" />
<Compile Include="Fixtures\XmlDocExampleCodeParserFixture.cs" />
<Compile Include="Fixtures\XmlPokeFixture.cs" />
<Compile Include="Fixtures\XmlTransformationFixture.cs" />
Expand Down Expand Up @@ -301,6 +303,7 @@
<Compile Include="Unit\Tools\NUnit\NUnitRunnerTests.cs" />
<Compile Include="Unit\Tools\NUnit\NUnitSettingsTests.cs" />
<Compile Include="Unit\Tools\OctopusDeploy\OctoCreateReleaseTests.cs" />
<Compile Include="Unit\Tools\OctopusDeploy\OctoPushTests.cs" />
<Compile Include="Unit\Tools\OpenCover\OpenCoverTests.cs" />
<Compile Include="Unit\Tools\ReportUnit\ReportUnitRunnerTests.cs" />
<Compile Include="Unit\Tools\ReportGenerator\ReportGeneratorRunnerTests.cs" />
Expand All @@ -312,8 +315,10 @@
<Compile Include="Unit\Tools\TextTransform\TextTemplateAliasTests.cs" />
<Compile Include="Unit\Tools\TextTransform\TextTransformRunnerTests.cs" />
<Compile Include="Unit\Tools\VSTest\VSTestRunnerTests.cs" />
<Compile Include="Unit\Tools\WiX\HeatRunnerTests.cs" />
<Compile Include="Unit\Tools\WiX\LightRunnerTests.cs" />
<Compile Include="Unit\Tools\WiX\CandleRunnerTests.cs" />
<Compile Include="Unit\Tools\WiX\WiXAliasTests.cs" />
<Compile Include="Unit\Tools\XBuild\XBuildSettingsExtensionsTests.cs" />
<Compile Include="Unit\Tools\XBuild\XBuildSettingsTests.cs" />
<Compile Include="Unit\Tools\XUnit\XUnit2SettingsTests.cs" />
Expand Down
7 changes: 5 additions & 2 deletions src/Cake.Common.Tests/Fixtures/AssemblyInfoFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Cake.Common.Solution.Project.Properties;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Solution.Project.Properties;
using Cake.Core;
using Cake.Core.Diagnostics;
using Cake.Core.IO;
Expand Down Expand Up @@ -44,4 +47,4 @@ public string CreateAndReturnContent()
}
}
}
}
}
7 changes: 5 additions & 2 deletions src/Cake.Common.Tests/Fixtures/AssemblyInfoParserFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System.Collections.Generic;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Cake.Common.Solution.Project.Properties;
using Cake.Core;
using Cake.Core.Diagnostics;
Expand Down Expand Up @@ -117,4 +120,4 @@ private void CreateAssemblyInfoOnDisk(FilePath path)
creator.Create(path, settings);
}
}
}
}
7 changes: 5 additions & 2 deletions src/Cake.Common.Tests/Fixtures/Build/AppVeyorFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Cake.Common.Build.AppVeyor;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.AppVeyor;
using Cake.Core;
using Cake.Core.IO;
using NSubstitute;
Expand Down Expand Up @@ -29,4 +32,4 @@ public AppVeyorProvider CreateAppVeyorService()
return new AppVeyorProvider(Environment, ProcessRunner);
}
}
}
}
7 changes: 5 additions & 2 deletions src/Cake.Common.Tests/Fixtures/Build/AppVeyorInfoFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Cake.Common.Build.AppVeyor.Data;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.AppVeyor.Data;
using Cake.Core;
using NSubstitute;

Expand Down Expand Up @@ -84,4 +87,4 @@ public AppVeyorEnvironmentInfo CreateEnvironmentInfo()
return new AppVeyorEnvironmentInfo(Environment);
}
}
}
}
5 changes: 4 additions & 1 deletion src/Cake.Common.Tests/Fixtures/Build/BambooFixture.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.Bamboo;
using Cake.Core;
using NSubstitute;
Expand Down Expand Up @@ -25,4 +28,4 @@ public BambooProvider CreateBambooService()
return new BambooProvider(Environment);
}
}
}
}
5 changes: 4 additions & 1 deletion src/Cake.Common.Tests/Fixtures/Build/BambooInfoFixture.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.Bamboo.Data;
using Cake.Core;
using NSubstitute;
Expand Down Expand Up @@ -70,4 +73,4 @@ public BambooEnvironmentInfo CreateEnvironmentInfo()
return new BambooEnvironmentInfo(Environment);
}
}
}
}
5 changes: 4 additions & 1 deletion src/Cake.Common.Tests/Fixtures/Build/BitriseFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Cake.Common.Build.Bitrise;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.Bitrise;
using Cake.Core;
using Cake.Core.IO;
using NSubstitute;
Expand Down
5 changes: 4 additions & 1 deletion src/Cake.Common.Tests/Fixtures/Build/BitriseInfoFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Cake.Common.Build.Bitrise.Data;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.Bitrise.Data;
using Cake.Core;
using NSubstitute;

Expand Down
5 changes: 4 additions & 1 deletion src/Cake.Common.Tests/Fixtures/Build/ContinuaCIFixture.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.ContinuaCI;
using Cake.Core;
using NSubstitute;
Expand Down Expand Up @@ -25,4 +28,4 @@ public ContinuaCIProvider CreateContinuaCIService()
return new ContinuaCIProvider(Environment);
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.ContinuaCI.Data;
using Cake.Core;
using NSubstitute;
Expand Down Expand Up @@ -92,4 +95,4 @@ public ContinuaCIChangesetInfo CreateChangesetInfo()
return new ContinuaCIChangesetInfo(Environment, "ContinuaCI.Build.LatestChangeset");
}
}
}
}
7 changes: 5 additions & 2 deletions src/Cake.Common.Tests/Fixtures/Build/JenkinsFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Cake.Common.Build.Jenkins;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.Jenkins;
using Cake.Core;
using NSubstitute;

Expand All @@ -18,7 +21,7 @@ public void IsRunningOnJenkins()
{
Environment.GetEnvironmentVariable("JENKINS_URL").Returns("http://localhost:8080/view/All/builds");
}

public JenkinsProvider CreateJenkinsProvider()
{
return new JenkinsProvider(Environment);
Expand Down
7 changes: 5 additions & 2 deletions src/Cake.Common.Tests/Fixtures/Build/JenkinsInfoFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Cake.Common.Build.Jenkins.Data;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.Jenkins.Data;
using Cake.Core;
using NSubstitute;

Expand All @@ -7,7 +10,7 @@ namespace Cake.Common.Tests.Fixtures.Build
internal sealed class JenkinsInfoFixture
{
public ICakeEnvironment Environment { get; set; }

public JenkinsInfoFixture()
{
Environment = Substitute.For<ICakeEnvironment>();
Expand Down
5 changes: 4 additions & 1 deletion src/Cake.Common.Tests/Fixtures/Build/TeamCityFixture.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.TeamCity;
using Cake.Core;
using Cake.Testing;
Expand Down Expand Up @@ -28,4 +31,4 @@ public TeamCityProvider CreateTeamCityService()
return new TeamCityProvider(Environment, Log);
}
}
}
}
5 changes: 4 additions & 1 deletion src/Cake.Common.Tests/Fixtures/Build/TravisCIFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Cake.Common.Build.TravisCI;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.TravisCI;
using Cake.Core;
using Cake.Testing;
using NSubstitute;
Expand Down
5 changes: 4 additions & 1 deletion src/Cake.Common.Tests/Fixtures/Build/TravisCIInfoFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Cake.Common.Build.TravisCI.Data;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Build.TravisCI.Data;
using Cake.Core;
using NSubstitute;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Cake.Core;
using Cake.Core.Diagnostics;
using NSubstitute;
Expand Down Expand Up @@ -33,4 +36,4 @@ public LogActionFixture(string format = "Hello {0}!", object[] args = null, Verb
Context = context;
}
}
}
}
Loading

0 comments on commit 295cea6

Please sign in to comment.