Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
22 additions
and
90 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 |
---|---|---|
@@ -1,72 +1,22 @@ | ||
/////////////////////////////////////////////////////////////////////////////// | ||
// ENVIRONMENT VARIABLE NAMES | ||
/////////////////////////////////////////////////////////////////////////////// | ||
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease | ||
|
||
private static string githubUserNameVariable = "GITHUB_USERNAME"; | ||
private static string githubPasswordVariable = "GITHUB_PASSWORD"; | ||
private static string myGetApiKeyVariable = "MYGET_API_KEY"; | ||
private static string myGetSourceUrlVariable = "MYGET_SOURCE"; | ||
private static string nuGetApiKeyVariable = "NUGET_API_KEY"; | ||
private static string nuGetSourceUrlVariable = "NUGET_SOURCE"; | ||
private static string chocolateyApiKeyVariable = "CHOCOLATEY_API_KEY"; | ||
private static string chocolateySourceUrlVariable = "CHOCOLATEY_SOURCE"; | ||
private static string gitterTokenVariable = "GITTER_TOKEN"; | ||
private static string gitterRoomIdVariable = "GITTER_ROOM_ID"; | ||
private static string slackTokenVariable = "SLACK_TOKEN"; | ||
private static string slackChannelVariable = "SLACK_CHANNEL"; | ||
private static string twitterConsumerKeyVariable = "TWITTER_CONSUMER_KEY"; | ||
private static string twitterConsumerSecretVariable = "TWITTER_CONSUMER_SECRET"; | ||
private static string twitterAccessTokenVariable = "TWITTER_ACCESS_TOKEN"; | ||
private static string twitterAccessTokenSecretVariable = "TWITTER_ACCESS_TOKEN_SECRET"; | ||
private static string appVeyorApiTokenVariable = "APPVEYOR_API_TOKEN"; | ||
private static string coverallsRepoTokenVariable = "COVERALLS_REPO_TOKEN"; | ||
Environment.SetVariableNames(); | ||
|
||
/////////////////////////////////////////////////////////////////////////////// | ||
// BUILD ACTIONS | ||
/////////////////////////////////////////////////////////////////////////////// | ||
BuildParameters.SetParameters(context: Context, | ||
buildSystem: BuildSystem, | ||
sourceDirectoryPath: "./src", | ||
title: "Cake.FluentMigrator", | ||
repositoryOwner: "cake-contrib", | ||
repositoryName: "Cake.FluentMigrator", | ||
appVeyorAccountName: "cakecontrib"); | ||
|
||
var sendMessageToGitterRoom = true; | ||
var sendMessageToSlackChannel = true; | ||
var sendMessageToTwitter = true; | ||
BuildParameters.PrintParamters(Context); | ||
|
||
/////////////////////////////////////////////////////////////////////////////// | ||
// PROJECT SPECIFIC VARIABLES | ||
/////////////////////////////////////////////////////////////////////////////// | ||
ToolSettings.SetToolSettings(context: Context, | ||
dupFinderExcludePattern: new string[] { | ||
BuildParameters.RootDirectoryPath + "/src/Cake.FluentMigrator.Tests/*.cs" }, | ||
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* ", | ||
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*", | ||
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs"); | ||
|
||
var rootDirectoryPath = MakeAbsolute(Context.Environment.WorkingDirectory); | ||
var sourceDirectoryPath = "./src"; | ||
var solutionFilePath = "./src/Cake.FluentMigrator.sln"; | ||
var solutionDirectoryPath = "./src/Cake.FluentMigrator"; | ||
var title = "Cake.FluentMigrator"; | ||
var resharperSettingsFileName = "Cake.FluentMigrator.sln.DotSettings"; | ||
var repositoryOwner = "cake-contrib"; | ||
var repositoryName = "Cake.FluentMigrator"; | ||
var appVeyorAccountName = "cakecontrib"; | ||
var appVeyorProjectSlug = "cake-fluentmigrator"; | ||
|
||
// NOTE: Only populate this, if required, but leave as is otherwise. | ||
var dupFinderExcludePattern = new string[] { rootDirectoryPath + "/src/Cake.FluentMigrator.Tests/*.cs" }; | ||
var testCoverageFilter = "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* "; | ||
var testCoverageExcludeByAttribute = "*.ExcludeFromCodeCoverage*"; | ||
var testCoverageExcludeByFile = "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs"; | ||
|
||
/////////////////////////////////////////////////////////////////////////////// | ||
// CAKE FILES TO LOAD IN | ||
/////////////////////////////////////////////////////////////////////////////// | ||
|
||
#l .\Tools\gep13.DefaultBuild\Content\appveyor.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\chocolatey.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\coveralls.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\credentials.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\gitreleasemanager.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\gitter.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\gitversion.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\nuget.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\packages.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\parameters.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\paths.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\resharper.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\slack.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\testing.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\twitter.cake | ||
#l .\Tools\gep13.DefaultBuild\Content\build.cake | ||
Build.Run(); |
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.17.0" /> | ||
<package id="Cake" version="0.18.0-alpha0033" /> | ||
</packages> |