@@ -64,18 +64,18 @@ Target.create "BuildVersion" (fun _ ->
64
64
65
65
Target.create " Build" ( fun _ ->
66
66
runDotnet __ SOURCE_ DIRECTORY__ " build" " ../src/buildtools/buildtools.proj -v n -c Proto"
67
- let fslexPath = __ SOURCE _ DIRECTORY __ + " / ../artifacts/bin/fslex/Proto/netcoreapp2 .1/fslex.dll"
68
- let fsyaccPath = __ SOURCE _ DIRECTORY __ + " / ../artifacts/bin/fsyacc/Proto/netcoreapp2 .1/fsyacc.dll"
67
+ let fslexPath = Path.GetFullPath <| Path.Combine (__ SOURCE _ DIRECTORY __, " ../artifacts/bin/fslex/Proto/netcoreapp3 .1/fslex.dll" )
68
+ let fsyaccPath = Path.GetFullPath <| Path.Combine (__ SOURCE _ DIRECTORY __, " ../artifacts/bin/fsyacc/Proto/netcoreapp3 .1/fsyacc.dll" )
69
69
runDotnet __ SOURCE_ DIRECTORY__ " build" ( sprintf " FSharp.Compiler.Service.sln -nodereuse:false -v n -c Release /p:DisableCompilerRedirection=true /p:FsLexPath=%s /p:FsYaccPath=%s " fslexPath fsyaccPath)
70
70
)
71
71
72
72
Target.create " Test" ( fun _ ->
73
73
// This project file is used for the netcoreapp2.0 tests to work out reference sets
74
74
runDotnet __ SOURCE_ DIRECTORY__ " build" " ../tests/projects/Sample_NETCoreSDK_FSharp_Library_netstandard2_0/Sample_NETCoreSDK_FSharp_Library_netstandard2_0.fsproj -nodereuse:false -v n /restore /p:DisableCompilerRedirection=true"
75
75
76
- // Now run the tests
77
- let logFilePath = Path.Combine(__ SOURCE_ DIRECTORY__, " .." , " artifacts" , " TestResults" , " Release" , " FSharp.Compiler.Service.Test.xml" )
78
- runDotnet __ SOURCE_ DIRECTORY__ " test" ( sprintf " FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj --no-restore --no-build -nodereuse:false -v n -c Release --test-adapter-path . -- logger \" nunit;LogFilePath=%s \" " logFilePath)
76
+ // Now run the tests (different output files per TFM)
77
+ let logFilePath = Path.Combine(__ SOURCE_ DIRECTORY__, " .." , " artifacts" , " TestResults" , " Release" , " FSharp.Compiler.Service.Test.{framework}. xml" )
78
+ runDotnet __ SOURCE_ DIRECTORY__ " test" ( sprintf " FSharp.Compiler.Service.Tests/FSharp.Compiler.Service.Tests.fsproj --no-restore --no-build -nodereuse:false -v n -c Release --logger \" nunit;LogFilePath=%s \" " logFilePath)
79
79
)
80
80
81
81
Target.create " NuGet" ( fun _ ->
0 commit comments