Skip to content

Commit

Permalink
(GH-214) Add static constructor
Browse files Browse the repository at this point in the history
To prevent the need to update all existing recipe.cake files with new
method call.
  • Loading branch information
gep13 committed Sep 20, 2019
1 parent 216d51a commit c23e610
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Cake.Recipe/Content/toolsettings.cake
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
public static class ToolSettings
{
static ToolSettings()
{
SetToolPreprocessorDirectives();
}

public static string[] DupFinderExcludePattern { get; private set; }
public static string[] DupFinderExcludeFilesByStartingCommentSubstring { get; private set; }
public static int? DupFinderDiscardCost { get; private set; }
Expand Down

0 comments on commit c23e610

Please sign in to comment.