<commit_before>open Fake

let testDirectory = getBuildParamOrDefault "buildMode" "Debug"
let nUnitRunner = "nunit3-console.exe"
let mutable nUnitToolPath = @"tools\NUnit.ConsoleRunner\"
let acceptanceTestPlayList = getBuildParamOrDefault "playList" ""
let nunitTestFormat = getBuildParamOrDefault "nunitTestFormat" "nunit2"

Target "Dotnet Restore" (fun _ ->
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\SFA.DAS.Commitments.Api.Client" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\SFA.DAS.Commitments.Api.Types" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\Tools\\SFA.DAS.Commitments.EFCoreTester" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.UnitTests" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.Api" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.Host" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.Jobs" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.Messages" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.MessageHandlers" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.MessageHandlers.UnitTests" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.Web" })
)<commit_msg>Fix build on server<commit_after>open Fake

let testDirectory = getBuildParamOrDefault "buildMode" "Debug"
let nUnitRunner = "nunit3-console.exe"
let mutable nUnitToolPath = @"tools\NUnit.ConsoleRunner\"
let acceptanceTestPlayList = getBuildParamOrDefault "playList" ""
let nunitTestFormat = getBuildParamOrDefault "nunitTestFormat" "nunit2"

Target "Dotnet Restore" (fun _ ->
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\SFA.DAS.Commitments.Api.Client" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\SFA.DAS.Commitments.Api.Types" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\Tools\\SFA.DAS.Commitments.EFCoreTester" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.UnitTests" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.Api" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.Host" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.Jobs" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.Messages" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.MessageHandlers" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.MessageHandlers.UnitTests" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\Approvals\\SFA.DAS.ProviderCommitments.Web" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\CommitmentsV2\\SFA.DAS.CommitmentsV2.Api" })
    DotNetCli.Restore(fun p ->
        { p with
                Project = ".\\CommitmentsV2\\SFA.DAS.CommitmentsV2.Api.UnitTests" })
)
{'fraction_non_alphanumeric': 0.13331690487925085, 'fraction_numerical': 0.001971414489896501, 'mean_word_length': 2.031366691560866, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5964670', 'n_tokens_mistral': 1379, 'n_tokens_neox': 1303, 'n_words': 213}