Skip to content

Commit

Permalink
try expecto run
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAngryByrd committed Mar 30, 2023
1 parent 4c5b40a commit 0c05a9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions build/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions test/Ionide.ProjInfo.Tests/Ionide.ProjInfo.Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks Condition="'$(BuildNet7)' == 'true'">$(TargetFrameworks);net7.0</TargetFrameworks>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks Condition="'$(BuildNet7)' == 'true'">net7.0</TargetFrameworks>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<GenerateProgramFile>false</GenerateProgramFile>
Expand Down

0 comments on commit 0c05a9c

Please sign in to comment.