Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH182: Added Windows Criteria #183

Merged
merged 1 commit into from Dec 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cake.Recipe/Content/analyzing.cake
Expand Up @@ -25,6 +25,7 @@ public void LaunchDefaultProgram(FilePath file) {
}

BuildParameters.Tasks.DupFinderTask = Task("DupFinder")
.WithCriteria(() => BuildParameters.IsRunningOnWindows)
.WithCriteria(() => BuildParameters.ShouldRunDupFinder)
.Does(() => RequireTool(ReSharperTools, () => {
var settings = new DupFinderSettings() {
Expand Down Expand Up @@ -76,6 +77,7 @@ BuildParameters.Tasks.DupFinderTask = Task("DupFinder")
});

BuildParameters.Tasks.InspectCodeTask = Task("InspectCode")
.WithCriteria(() => BuildParameters.IsRunningOnWindows)
.WithCriteria(() => BuildParameters.ShouldRunInspectCode)
.Does(() => RequireTool(ReSharperTools, () => {
var settings = new InspectCodeSettings() {
Expand Down