Skip to content

Commit

Permalink
Cake uprating
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Nov 19, 2022
1 parent 84c9f1f commit a5f3868
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Build/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,13 @@ Task("Test")
}
else
{
var args = FSDotNet.ToTestArgumentList(
var args = FSDotNet.ToTestPropertiesList(
altcoverSettings.PreparationPhase,
altcoverSettings.CollectionPhase,
altcoverSettings.Options).ToArray();

Array.ForEach(args,
s => { var bits = s.Substring(3).Split('=', StringSplitOptions.RemoveEmptyEntries);
testSettings.EnvironmentVariables[bits[0]] = bits[1].Trim('"');});
s => { testSettings.EnvironmentVariables[s.Item1] = s.Item2;});
}

DotNetTest("./_DotnetTest/cake_dotnettest.fsproj", testSettings);
Expand Down
6 changes: 3 additions & 3 deletions Fake/Build/targets.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5762,7 +5762,7 @@ module Targets =
"DebugSymbols", "True" ] })
"./Samples/Sample4/Sample4LongForm.fsproj")

let Cake1Test =
let Cake2Test =
(fun _ ->
let before = Actions.ticksNow ()

Expand Down Expand Up @@ -7948,7 +7948,7 @@ module Targets =

_Target "JsonReporting" JsonReporting
_Target "MSBuildTest" MSBuildTest
_Target "Cake1Test" Cake1Test
_Target "Cake2Test" Cake2Test
_Target "ApiUse" ApiUse
_Target "DotnetTestIntegration" DotnetTestIntegration
_Target "Issue20" Issue20
Expand Down Expand Up @@ -8227,7 +8227,7 @@ module Targets =

"Unpack" ==> "ApiUse" ==> "Deployment" |> ignore

"Unpack" ==> "Cake1Test" ==> "Deployment"
"Unpack" ==> "Cake2Test" ==> "Deployment"
|> ignore

"Unpack"
Expand Down
1 change: 1 addition & 0 deletions Fake/Fake.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "Build", "Build\Build.fsproj
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BE747F78-C635-4A21-A336-5D6DA9EDF082}"
ProjectSection(SolutionItems) = preProject
..\Build\build.cake = ..\Build\build.cake
Directory.Build.props = Directory.Build.props
Build\DriveApi.fsx = Build\DriveApi.fsx
..\Build\Pester.Tests.ps1 = ..\Build\Pester.Tests.ps1
Expand Down

0 comments on commit a5f3868

Please sign in to comment.