From fd32b0582c7b1ea957dfb5fe044a22a4314bbc89 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Tue, 30 Jan 2018 11:59:28 +0200 Subject: [PATCH] GTK for Linux and Mac only --- build.cake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.cake b/build.cake index 3a875ce0..6f87a107 100644 --- a/build.cake +++ b/build.cake @@ -274,13 +274,13 @@ Task ("samples") // BASIC samples RunNuGetRestore ("./samples/Basic/NetCore/SkiaSharpSample.sln"); RunMSBuild ("./samples/Basic/NetCore/SkiaSharpSample.sln"); - RunNuGetRestore ("./samples/Basic/Gtk/SkiaSharpSample.sln"); - RunMSBuild ("./samples/Basic/Gtk/SkiaSharpSample.sln"); // GALLERY samples if (IsRunningOnLinux ()) { // BASIC samples + RunNuGetRestore ("./samples/Basic/Gtk/SkiaSharpSample.sln"); + RunMSBuild ("./samples/Basic/Gtk/SkiaSharpSample.sln"); // GALLERY samples } @@ -295,6 +295,8 @@ Task ("samples") RunMSBuildWithPlatform ("./samples/Basic/macOS/SkiaSharpSample.sln", "x86"); RunNuGetRestore ("./samples/Basic/tvOS/SkiaSharpSample.sln"); RunMSBuildWithPlatform ("./samples/Basic/tvOS/SkiaSharpSample.sln", "iPhoneSimulator"); + RunNuGetRestore ("./samples/Basic/Gtk/SkiaSharpSample.sln"); + RunMSBuild ("./samples/Basic/Gtk/SkiaSharpSample.sln"); // GALLERY samples RunNuGetRestore ("./samples/Gallery/MacSample/MacSample.sln");