From c0164cfd47a67b766449ec89de3a3da4292a2b6e Mon Sep 17 00:00:00 2001 From: "Rodney Littles, II" Date: Tue, 2 Oct 2018 16:44:16 -0500 Subject: [PATCH 1/2] (GH-15) Added Rocket Surgeons Guild logo to nuspec --- Xamarin.Recipe/Rocket.Surgery.Xamarin.Recipe.nuspec | 1 + 1 file changed, 1 insertion(+) diff --git a/Xamarin.Recipe/Rocket.Surgery.Xamarin.Recipe.nuspec b/Xamarin.Recipe/Rocket.Surgery.Xamarin.Recipe.nuspec index 64cbf84..323eedc 100644 --- a/Xamarin.Recipe/Rocket.Surgery.Xamarin.Recipe.nuspec +++ b/Xamarin.Recipe/Rocket.Surgery.Xamarin.Recipe.nuspec @@ -8,6 +8,7 @@ Copyright Rodney Littles, II © 2018 https://github.com/RocketSurgeonsGuild/Xamarin.Recipe https://github.com/RocketSurgeonsGuild/Xamarin.Recipe/blob/main/LICENSE + https://raw.githubusercontent.com/RocketSurgeonsGuild/graphics/master/png/rsg-patch-circle-color.png Re-usable build script for Cake that is focused on building and deploying Xamarin Mobile Applications. Build Cake Xamarin Mobile From a53af9425bd9ead0a92485b0b9c69e29d00537b7 Mon Sep 17 00:00:00 2001 From: Rodney Littles II Date: Mon, 8 Oct 2018 12:32:27 -0500 Subject: [PATCH 2/2] (GH-16) Added NoRestore to ToolSettings --- Xamarin.Recipe/Content/test.cake | 3 ++- Xamarin.Recipe/Content/toolsettings.cake | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Xamarin.Recipe/Content/test.cake b/Xamarin.Recipe/Content/test.cake index 473050c..db9bea7 100644 --- a/Xamarin.Recipe/Content/test.cake +++ b/Xamarin.Recipe/Content/test.cake @@ -12,7 +12,8 @@ Task("Unit-Test") { Configuration = BuildParameters.Configuration, Framework = ToolSettings.TestFramework, - NoBuild = ToolSettings.TestNoBuild + NoBuild = ToolSettings.TestNoBuild, + NoRestore = ToolSettings.TestNoRestore }); } }); diff --git a/Xamarin.Recipe/Content/toolsettings.cake b/Xamarin.Recipe/Content/toolsettings.cake index b32cd7f..3828c44 100644 --- a/Xamarin.Recipe/Content/toolsettings.cake +++ b/Xamarin.Recipe/Content/toolsettings.cake @@ -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; } @@ -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" ) { @@ -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;