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

migrate to .NET Core project files #74

Merged
merged 12 commits into from
Dec 19, 2017
Merged

migrate to .NET Core project files #74

merged 12 commits into from
Dec 19, 2017

Conversation

ctaggart
Copy link
Owner

@ctaggart ctaggart commented Dec 17, 2017

fix #73

What is left:

open Fake.Core.TargetOperators
open Fake.DotNet
open Fake.DotNet.NuGet.NuGet
open Fake.DotNet.Testing.XUnit2
Copy link
Owner Author

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
Copy link
Owner Author

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 _ ->
Copy link
Owner Author

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"]
Copy link
Owner Author

@ctaggart ctaggart Dec 19, 2017

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)
Copy link
Owner Author

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

@ctaggart ctaggart changed the title WIP migrate to .NET Core project files migrate to .NET Core project files Dec 19, 2017
@ctaggart ctaggart merged commit bf84c4a into master Dec 19, 2017
@ctaggart ctaggart deleted the netcoreproj branch December 19, 2017 15:50
@ctaggart ctaggart added this to the 0.5.0 milestone Dec 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate to .NET Core project files
1 participant