Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.

Commit

Permalink
Fix build on Mono (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
takemyoxygen authored and jhugard committed Jul 2, 2016
1 parent 032513d commit 11324d0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ Target "UnitTest" <| fun _ ->
{ p with
IncludeTraits = ["Kind", "Unit"]
XmlOutputPath = Some @"bin/UnitTest.xml"
Parallel = ParallelMode.All
})
dlls

Expand Down Expand Up @@ -134,6 +133,8 @@ Target "NuGet" <| fun _ ->
OutputPath = "bin"
}) "Compiler/Froto.Compiler.nuspec"

Target "Default" DoNothing

// chain targets together only on AppVeyor
//let (==>) a b = a =?> (b, isAppVeyorBuild)

Expand All @@ -143,6 +144,7 @@ Target "NuGet" <| fun _ ->
==> "Build"
==> "UnitTest"
=?> ("SourceLink", isAppVeyorBuild)
==> "NuGet"
=?> ("NuGet", not isMono)
==> "Default"

RunTargetOrDefault "NuGet"
RunTargetOrDefault "Default"

0 comments on commit 11324d0

Please sign in to comment.