Skip to content

Commit

Permalink
Try to restore packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jwood803 committed Sep 23, 2015
1 parent 6478c41 commit 9a26760
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions FakeDemo/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -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") ]
Expand All @@ -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"

0 comments on commit 9a26760

Please sign in to comment.