-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/3.0.0: (59 commits) (#803) Remove usage of MyGet feed (build) Update to Cake 1.3.0 (#723) Use alias for getting Arguments (#762) Update Cake and Cake.Issues.Recipe (#854) modified resolution of nuget (#854) modified resolution of RequireToolNotRegistered (GH-857) Update Cake.Coveralls reference from 1.0.1 to 1.1.0 (GH-859) Update Cake.Gitter reference from 1.0.2 to 1.1.0 (#862) bumped JetBrains.ReSharper.CommandLineTools (#873) Remove usage of DupFinder (#845) specified the full versions of GitHub actions Bump actions/checkout from 2.3.4 to 2.4.0 Bump cake-build/cake-action from 1.3.0 to 1.4.0 Bump gittools/actions from 0.9.9 to 0.9.11 Bump actions/cache from 2.1.5 to 2.1.7 (maint) FIx spelling mistake Bump actions/cache from 2.1.4 to 2.1.5 Bump cake-build/cake-action from 1 to 1.3.0 (GH-849) Update Cake.Wyam reference from 2.2.10 to 2.2.12 (#847) Bump CakeContrib.Guidelines to v1.1.1 to update NuGet package icon ...
- Loading branch information
Showing
62 changed files
with
289 additions
and
265 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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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 |
---|---|---|
|
@@ -7,27 +7,27 @@ jobs: | |
draft-stable: | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- name: Checkout the requested branch | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v2.4.0 | ||
- name: Fetch all tags and branches | ||
run: git fetch --prune --unshallow | ||
- name: Cache Tools | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].7 | ||
with: | ||
path: tools | ||
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | ||
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake', 'Source/Cake.Recipe/Content/addins.cake', 'Source/Cake.Recipe/Content/tools.cake', 'Source/Cake.Recipe/Content/modules.cake') }} | ||
- name: Set up git version | ||
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} | ||
uses: gittools/actions/gitversion/[email protected].9 | ||
uses: gittools/actions/gitversion/[email protected].11 | ||
with: | ||
versionSpec: "5.x" | ||
- name: Run git version | ||
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected].9 | ||
uses: gittools/actions/gitversion/[email protected].11 | ||
- name: Create release branch ${{ github.event.inputs.version }} | ||
if: ${{ steps.gitversion.outputs.majorMinorPatch }} | ||
run: git switch -c release/${{ steps.gitversion.outputs.majorMinorPatch }} | ||
|
@@ -39,15 +39,15 @@ jobs: | |
github_token: ${{ secrets.GH_TOKEN }} | ||
- name: Creating includes.cake file | ||
run: | | ||
Get-ChildItem "./Cake.Recipe/Content/*.cake" -Exclude "version.cake" | % { | ||
Get-ChildItem "./Source/Cake.Recipe/Content/*.cake" -Exclude "version.cake" | % { | ||
"#load `"local:?path=$($_.FullName -replace '\\','/')`"" | ||
} | Out-File "./includes.cake" | ||
shell: pwsh | ||
- name: Drafting Release Notes | ||
uses: cake-build/cake-action@v1 | ||
uses: cake-build/cake-action@v1.4.0 | ||
with: | ||
script-path: recipe.cake | ||
target: releasenotes | ||
verbosity: Diagnostic | ||
cake-version: 0.38.5 | ||
cake-version: 1.1.0 | ||
cake-bootstrap: true |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,34 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.26124.0 | ||
MinimumVisualStudioVersion = 15.0.26124.0 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cake.Recipe", "Cake.Recipe\Cake.Recipe.csproj", "{137DB654-11F3-4634-A2BE-FC5E02967FEA}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Debug|x64.Build.0 = Debug|Any CPU | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Debug|x86.Build.0 = Debug|Any CPU | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Release|x64.ActiveCfg = Release|Any CPU | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Release|x64.Build.0 = Release|Any CPU | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Release|x86.ActiveCfg = Release|Any CPU | ||
{137DB654-11F3-4634-A2BE-FC5E02967FEA}.Release|x86.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
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,43 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<IncludeBuildOutput>false</IncludeBuildOutput> | ||
<IsPackable>true</IsPackable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<StartYear>2016</StartYear> | ||
<EndYear>$([System.DateTime]::Today.Year)</EndYear> | ||
<FullYear Condition="'$(StartYear)'=='$(EndYear)'">$(StartYear)</FullYear> | ||
<FullYear Condition="'$(StartYear)'!='$(EndYear)'">$(StartYear)-$(EndYear)</FullYear> | ||
|
||
<!-- Properties related to packaging --> | ||
<Authors>gep13</Authors> | ||
<Copyright>Copyright (c) Cake Contributions $(FullYear)</Copyright> | ||
<Description> | ||
This NuGet package contains a set of re-usable scripts that can be added to your build using the load preprocessor directive. As a result, it is possible to use the same set of build scripts across multiple projects, without having to duplicate the scripts. All that is required is a small recipe build script, which sets the project specific information. More information can be found about this project on the documentation page here: | ||
|
||
https://cake-contrib.github.io/Cake.Recipe/docs/ | ||
|
||
NOTE: Currently, Cake.Recipe itself is built using 0.38.4, and as a result, there is an expectation that that any project that is built using Cake.Recipe should also use 0.38.4 of Cake. Using a newer version of Cake may work, but there is no guarantee that it will. | ||
</Description> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/cake-contrib/Cake.Recipe/</PackageProjectUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<RepositoryUrl>https://github.com/cake-contrib/Cake.Recipe.git</RepositoryUrl> | ||
<PackageTags>Cake;Build;Automation;Recipe;cake-recipe;cake-build;script</PackageTags> | ||
<PackageReleaseNotes>https://github.com/cake-contrib/Cake.Recipe/releases/tag/$(Version)</PackageReleaseNotes> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="CakeContrib.Guidelines" Version="1.1.1"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="Content/*" PackagePath="/content" Pack="true" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/////////////////////////////////////////////////////////////////////////////// | ||
// TASK DEFINITIONS | ||
/////////////////////////////////////////////////////////////////////////////// | ||
BuildParameters.Tasks.InspectCodeTask = Task("InspectCode") | ||
.WithCriteria(() => BuildParameters.BuildAgentOperatingSystem == PlatformFamily.Windows, "Skipping due to not running on Windows") | ||
.WithCriteria(() => BuildParameters.ShouldRunInspectCode, "Skipping because InspectCode has been disabled") | ||
.Does<BuildData>(data => RequireTool(ToolSettings.ReSharperTools, () => { | ||
var inspectCodeLogFilePath = BuildParameters.Paths.Directories.InspectCodeTestResults.CombineWithFilePath("inspectcode.xml"); | ||
var settings = new InspectCodeSettings() { | ||
SolutionWideAnalysis = true, | ||
OutputFile = inspectCodeLogFilePath, | ||
ArgumentCustomization = x => x.Append("--no-build") | ||
}; | ||
if (FileExists(BuildParameters.SourceDirectoryPath.CombineWithFilePath(BuildParameters.ResharperSettingsFileName))) | ||
{ | ||
settings.Profile = BuildParameters.SourceDirectoryPath.CombineWithFilePath(BuildParameters.ResharperSettingsFileName); | ||
} | ||
InspectCode(BuildParameters.SolutionFilePath, settings); | ||
// Pass path to InspectCode log file to Cake.Issues.Recipe | ||
IssuesParameters.InputFiles.AddInspectCodeLogFile(inspectCodeLogFilePath); | ||
}) | ||
); | ||
|
||
BuildParameters.Tasks.AnalyzeTask = Task("Analyze") | ||
.IsDependentOn("InspectCode"); |
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
File renamed without changes.
Oops, something went wrong.