-
Notifications
You must be signed in to change notification settings - Fork 27
Conversation
open Fake.Core.TargetOperators | ||
open Fake.DotNet | ||
open Fake.DotNet.NuGet.NuGet | ||
open Fake.DotNet.Testing.XUnit2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lot's more namespaces to import for FAKE 5.
|
||
let release = ReleaseNotesHelper.LoadReleaseNotes "release_notes.md" | ||
let isAppVeyorBuild = buildServer = BuildServer.AppVeyor | ||
let isAppVeyorBuild = match buildServer with AppVeyor -> true | _ -> false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The supported build servers are a union which is cool.
@@ -24,12 +31,12 @@ let mutable configuration = "Release" | |||
|
|||
MSBuildDefaults <- { MSBuildDefaults with Verbosity = Some MSBuildVerbosity.Minimal } | |||
|
|||
Target "BuildVersion" <| fun _ -> | |||
Target.Create "BuildVersion" <| fun _ -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In FAKE 5, create the targets with Target.Create
instead of Target
.
Target "UnitTest" <| fun _ -> | ||
CreateDir "bin" | ||
if not isMono then | ||
["Froto.TypeProvider.TestAndDocs.sln"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't get the TypeProvider tests to build on Travis. Something to do with not finding the proto file passed in.
remote: https://api.nuget.org/v3/index.json | ||
FAKE (5.0.0-beta010) | ||
xunit.runner.console (2.3.1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
paket only used for loading FAKE
fix #73
What is left: