From b3bbeb0f22417c0cacf08149331403efa4024e8f Mon Sep 17 00:00:00 2001 From: Colin Gravill Date: Wed, 2 Dec 2015 18:05:36 +0000 Subject: [PATCH 1/2] Substitute in F# 3.1 for later versions This allows some libs built against later FSharp.Core.dll to be supported under IfSharp e.g. FAKE. --- src/IfSharpConsole/App.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IfSharpConsole/App.config b/src/IfSharpConsole/App.config index 17e855d..4b827ab 100644 --- a/src/IfSharpConsole/App.config +++ b/src/IfSharpConsole/App.config @@ -12,7 +12,7 @@ - + From 56400b9b16d6c9f87f7ad25f9435f66ee94c676f Mon Sep 17 00:00:00 2001 From: Niall Murphy Date: Fri, 13 May 2016 21:18:05 +0100 Subject: [PATCH 2/2] make the build script compile the main project instead of the solution, this makes it run in fake --- build.fsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/build.fsx b/build.fsx index 56549c8..7e66197 100644 --- a/build.fsx +++ b/build.fsx @@ -88,12 +88,11 @@ Target "CleanDocs" (fun _ -> // Build library & test project Target "Build" (fun _ -> - { BaseDirectory = __SOURCE_DIRECTORY__ - Includes = [ solutionFile + ".sln" - solutionFile + ".Tests.sln" ] - Excludes = [] } - |> MSBuildRelease "" "Rebuild" - |> ignore + [ "src/IfSharpConsole/IfSharpConsole.csproj" + //; "src/IfSharp.Kernel/IfSharp.Kernel.fsproj" + ] + |> MSBuildRelease "bin" "Rebuild" + |> ignore ) // -------------------------------------------------------------------------------------- @@ -178,7 +177,7 @@ Target "All" DoNothing ==> "RestorePackages" ==> "AssemblyInfo" ==> "Build" - ==> "RunTests" +// ==> "RunTests" ==> "All" "All"