-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed to use Cake.Recipe build scripts
fixes #9
- Loading branch information
1 parent
702683e
commit e331ccf
Showing
15 changed files
with
69 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -286,3 +286,7 @@ tools/** | |
*.btm.cs | ||
*.odx.cs | ||
*.xsd.cs | ||
|
||
|
||
# Custom | ||
BuildArtifacts/ |
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
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,48 @@ | ||
#load "nuget:https://www.myget.org/F/wormie-nugets/api/v2?package=Cake.Recipe&prerelease" | ||
|
||
Environment.SetVariableNames(); | ||
|
||
BuildParameters.SetParameters( | ||
context: Context, | ||
buildSystem: BuildSystem, | ||
sourceDirectoryPath: "./src", | ||
title: "Cake.Transifex", | ||
repositoryOwner: "WormieCorp", | ||
repositoryName: "Cake.Transifex", | ||
appVeyorAccountName: "AdmiringWorm", | ||
shouldRunDotNetCorePack: true, | ||
shouldBuildNugetSourcePackage: true, | ||
solutionFilePath: "./Cake.Transifex.sln" | ||
); | ||
|
||
ToolSettings.SetToolSettings( | ||
context: Context, | ||
dupFinderExcludePattern: new string[] { | ||
BuildParameters.RootDirectoryPath + "/src/*.Tests/**/*.cs" | ||
}, | ||
dupFinderExcludeFilesByStartingCommentSubstring: new string[] { | ||
"<auto-generated>" | ||
}, | ||
testCoverageFilter: "+[Cake.Transifex*]* -[*.Tests]*", | ||
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*", | ||
testCoverageExcludeByFile: "*Designer.cs;*.g.cs;*.g.i.cs" | ||
); | ||
|
||
BuildParameters.PrintParameters(Context); | ||
|
||
// We want to override the creation of release notes | ||
// when the following is true: | ||
// We are running on appveyor | ||
// We are inside the Main Repository | ||
// We are on the main branch | ||
// And we're not using a tagged branch | ||
if (BuildParameters.IsRunningOnAppVeyor) { | ||
BuildParameters.Tasks.CreateReleaseNotesTask | ||
.WithCriteria(() => BuildParameters.IsMainRepository | ||
&& BuildParameters.IsMasterBranch | ||
&& !BuildParameters.IsTagged); | ||
BuildParameters.Tasks.ExportReleaseNotesTask | ||
.IsDependentOn(BuildParameters.Tasks.CreateReleaseNotesTask); | ||
} | ||
|
||
Build.RunDotNetCore(); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Cake" version="0.19.5" /> | ||
<package id="Cake" version="0.20.0" /> | ||
</packages> |