From 9a2676017bf02bc44de344e379ee7442601d7bb4 Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 23 Sep 2015 14:33:12 -0400 Subject: [PATCH] Try to restore packages --- FakeDemo/build.fsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/FakeDemo/build.fsx b/FakeDemo/build.fsx index 0e16e4d..ac9fdc4 100644 --- a/FakeDemo/build.fsx +++ b/FakeDemo/build.fsx @@ -12,8 +12,9 @@ Target "Test" (fun _ -> trace "Testing stuff..." ) -Target "BuildPcl" (fun _ -> - RestorePackages () +Target "Build-Pcl" (fun _ -> + "FakeDemo/packages.config" + |> RestorePackage (fun defaults -> defaults) !! "FakeDemo.csproj" |> MSBuild "FakeDemo/bin/Debug" "Build" [ ("Configuration", "Debug"); ("Platform", "Any CPU") ] @@ -36,11 +37,8 @@ Target "Build-Droid" (fun _ -> |> Log "----Android build output----" ) -"BuildPcl" - ==> "Clean" - ==> "Test" - -"Build-Droid" - ==> "Build-iOS" +"Clean" + ==> "Build-Pcl" + ==> "Test" RunTargetOrDefault "Test" \ No newline at end of file