diff --git a/build.fsx b/build.fsx index 923e07f..748a8a5 100644 --- a/build.fsx +++ b/build.fsx @@ -1,12 +1,13 @@ #r "paket: nuget Fake.DotNet.Cli nuget Fake.IO.FileSystem +nuget Fake.DotNet.Testing.Expecto nuget Fake.Core.Target //" #load "./.fake/build.fsx/intellisense.fsx" -open Fake.IO open Fake.DotNet open Fake.Core +open Fake.DotNet.Testing Target.initEnvironment() @@ -20,7 +21,7 @@ Target.create "BuildApp" (fun _ -> ) Target.create "Test" (fun _ -> - DotNet.test id testProj + DotNet.exec id "run" (sprintf "-p %s" testProj) |> ignore ) Target.create "Pack" (fun _ -> diff --git a/build.fsx.lock b/build.fsx.lock index 759d9a5..134a5d9 100644 --- a/build.fsx.lock +++ b/build.fsx.lock @@ -86,6 +86,13 @@ NUGET Newtonsoft.Json (>= 12.0.2) NuGet.Protocol (>= 4.9.4) System.Net.Http (>= 4.3.4) + Fake.DotNet.Testing.Expecto (5.15.4) + Fake.Core.Process (>= 5.15.4) + Fake.Core.String (>= 5.15.4) + Fake.Core.Trace (>= 5.15.4) + Fake.IO.FileSystem (>= 5.15.4) + Fake.Testing.Common (>= 5.15.4) + FSharp.Core (>= 4.3.4) Fake.IO.FileSystem (5.15.4) Fake.Core.String (>= 5.15.4) FSharp.Core (>= 4.3.4) @@ -95,6 +102,9 @@ NUGET Fake.Core.Trace (>= 5.15.4) FSharp.Core (>= 4.3.4) System.Net.Http (>= 4.3.4) + Fake.Testing.Common (5.15.4) + Fake.Core.Trace (>= 5.15.4) + FSharp.Core (>= 4.3.4) FParsec (1.0.3) FSharp.Core (>= 4.2.3) NETStandard.Library (>= 1.6.1) @@ -142,23 +152,23 @@ NUGET NETStandard.Library (2.0.3) Microsoft.NETCore.Platforms (>= 1.1) Newtonsoft.Json (12.0.2) - NuGet.Common (5.1) - NuGet.Frameworks (>= 5.1) + NuGet.Common (5.2) + NuGet.Frameworks (>= 5.2) System.Diagnostics.Process (>= 4.3) System.Threading.Thread (>= 4.3) - NuGet.Configuration (5.1) - NuGet.Common (>= 5.1) + NuGet.Configuration (5.2) + NuGet.Common (>= 5.2) System.Security.Cryptography.ProtectedData (>= 4.3) - NuGet.Frameworks (5.1) - NuGet.Packaging (5.1) + NuGet.Frameworks (5.2) + NuGet.Packaging (5.2) Newtonsoft.Json (>= 9.0.1) - NuGet.Configuration (>= 5.1) - NuGet.Versioning (>= 5.1) + NuGet.Configuration (>= 5.2) + NuGet.Versioning (>= 5.2) System.Dynamic.Runtime (>= 4.3) - NuGet.Protocol (5.1) - NuGet.Packaging (>= 5.1) + NuGet.Protocol (5.2) + NuGet.Packaging (>= 5.2) System.Dynamic.Runtime (>= 4.3) - NuGet.Versioning (5.1) + NuGet.Versioning (5.2) runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) runtime.debian.9-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3)