From 0c05a9c3fcf6e16adc17963987911af9ba05e875 Mon Sep 17 00:00:00 2001 From: Jimmy Byrd Date: Wed, 29 Mar 2023 23:55:59 -0400 Subject: [PATCH] try expecto run --- build/Program.fs | 5 +++++ test/Ionide.ProjInfo.Tests/Ionide.ProjInfo.Tests.fsproj | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/build/Program.fs b/build/Program.fs index 664c9b86..13aadfb8 100644 --- a/build/Program.fs +++ b/build/Program.fs @@ -68,6 +68,11 @@ let init args = "." |> ignore + let testTFM tfm = + exec "dotnet" $"run --framework {tfm} -c Release --project .\\test\\Ionide.ProjInfo.Tests\\Ionide.ProjInfo.Tests.fsproj" "." + |> ignore + + Target.create "Test" DoNothing Target.create "Test:net6.0" (fun _ -> testTFM "net6.0") diff --git a/test/Ionide.ProjInfo.Tests/Ionide.ProjInfo.Tests.fsproj b/test/Ionide.ProjInfo.Tests/Ionide.ProjInfo.Tests.fsproj index d45b0acf..63694dff 100644 --- a/test/Ionide.ProjInfo.Tests/Ionide.ProjInfo.Tests.fsproj +++ b/test/Ionide.ProjInfo.Tests/Ionide.ProjInfo.Tests.fsproj @@ -2,8 +2,8 @@ Exe - net6.0 - $(TargetFrameworks);net7.0 + net7.0 + net7.0 false true false