Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

Commit

Permalink
Merge branch 'release/v0.2.6' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
RLittlesII committed Oct 8, 2018
2 parents af61792 + a53af94 commit acb1d36
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Xamarin.Recipe/Content/test.cake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Task("Unit-Test")
{
Configuration = BuildParameters.Configuration,
Framework = ToolSettings.TestFramework,
NoBuild = ToolSettings.TestNoBuild
NoBuild = ToolSettings.TestNoBuild,
NoRestore = ToolSettings.TestNoRestore
});
}
});
Expand Down
9 changes: 6 additions & 3 deletions Xamarin.Recipe/Content/toolsettings.cake
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ public static class ToolSettings
public static string TestCoverageFilter { get; private set; }
public static string TestCoverageExcludeByAttribute { get; private set; }
public static string TestCoverageExcludeByFile { get; private set; }
public static string TestFramework { get; set; }
public static bool TestNoBuild { get; set; }
public static string TestFramework { get; private set; }
public static bool TestNoBuild { get; private set; }
public static bool TestNoRestore { get; private set; }
public static PlatformTarget BuildPlatformTarget { get; private set; }
public static MSBuildToolVersion MSBuildToolVersion { get; private set; }
public static Verbosity MSBuildVerbosity { get; private set; }
Expand All @@ -24,14 +25,15 @@ public static class ToolSettings
string testCoverageExcludeByFile = null,
string testFramework = "netcoreapp2.0",
bool testNoBuild = true,
bool testNoRestore = true,
PlatformTarget? buildPlatformTarget = null,
MSBuildToolVersion msBuildToolVersion = MSBuildToolVersion.Default,
Verbosity msBuildVerbosity = Verbosity.Quiet,
int? maxCpuCount = null,
DirectoryPath outputDirectory = null,
string[] dupFinderExcludeFilesByStartingCommentSubstring = null,
int? dupFinderDiscardCost = null,
bool? dupFinderThrowExceptionOnFindingDuplicates = null,
Verbosity msBuildVerbosity = Verbosity.Quiet,
string androidBuildToolVersion = "27.0.2"
)
{
Expand All @@ -53,6 +55,7 @@ public static class ToolSettings
TestCoverageExcludeByFile = testCoverageExcludeByFile ?? "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs";
TestFramework = testFramework;
TestNoBuild = testNoBuild;
TestNoRestore = testNoRestore;
BuildPlatformTarget = buildPlatformTarget ?? PlatformTarget.MSIL;
MSBuildToolVersion = msBuildToolVersion;
MaxCpuCount = maxCpuCount ?? 0;
Expand Down
1 change: 1 addition & 0 deletions Xamarin.Recipe/Rocket.Surgery.Xamarin.Recipe.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<copyright>Copyright Rodney Littles, II © 2018</copyright>
<projectUrl>https://github.com/RocketSurgeonsGuild/Xamarin.Recipe</projectUrl>
<licenseUrl>https://github.com/RocketSurgeonsGuild/Xamarin.Recipe/blob/main/LICENSE</licenseUrl>
<iconUrl>https://raw.githubusercontent.com/RocketSurgeonsGuild/graphics/master/png/rsg-patch-circle-color.png</iconUrl>
<description>Re-usable build script for Cake that is focused on building and deploying Xamarin Mobile Applications.</description>
<tags>Build Cake Xamarin Mobile</tags>
</metadata>
Expand Down

0 comments on commit acb1d36

Please sign in to comment.