<commit_before>// include Fake lib
#r "tools/FAKE/tools/FakeLib.dll"
open Fake
open Fake.AssemblyInfoFile
open Fake.Testing.NUnit3
open System
open System.IO

let authors = ["@minton"; "@hotgazpacho"; "@brycekbargar"]
let projectName = "Binda"
let projectDescription = "Smart WinForms Data Binding"

let debugDir = __SOURCE_DIRECTORY__ + @"\src\binda\bin\Debug\"
let releaseDir = __SOURCE_DIRECTORY__ + @"\src\binda\bin\Release\"
//Hard coded paths since f# via FAKE always returns x86 ProgramFiles
let nunit = __SOURCE_DIRECTORY__ + @"\src\packages\NUnit.ConsoleRunner.3.2.0\tools\nunit3-console.exe"
let packages = __SOURCE_DIRECTORY__ + @"\src\packages"
let version = getBuildParamOrDefault "ver" "0.0.1"
let testAssemblies = !! (@"src\binda.tests\bin\Debug\binda.tests.dll")
let packagingRoot = "./packaging/"
let packagingDir = packagingRoot @@ "binda"

let releaseNotes = 
    ReadFile "ReleaseNotes.md"
    |> ReleaseNotesHelper.parseReleaseNotes
    
//Helper
let rec getAllFiles dir pattern =
    seq { yield! Directory.EnumerateFiles(dir, pattern)
          for d in Directory.EnumerateDirectories(dir) do
              yield! getAllFiles d pattern }
    
//Restore Nuget stuff
Target "RestorePackages" (fun _ -> 
     "./src/binda.sln"
     |> RestoreMSSolutionPackages (fun _ ->
         RestorePackageDefaults)
 )

// Clean out the directories
Target "Clean" (fun _ ->
    CleanDirs [debugDir; releaseDir; packagingRoot; packagingDir;]
    CopyFile packagingDir "ReleaseNotes.md"
<commit_msg>Use newest nunit.console runner<commit_after>// include Fake lib
#r "tools/FAKE/tools/FakeLib.dll"
open Fake
open Fake.AssemblyInfoFile
open Fake.Testing.NUnit3
open System
open System.IO

let authors = ["@minton"; "@hotgazpacho"; "@brycekbargar"]
let projectName = "Binda"
let projectDescription = "Smart WinForms Data Binding"

let debugDir = __SOURCE_DIRECTORY__ + @"\src\binda\bin\Debug\"
let releaseDir = __SOURCE_DIRECTORY__ + @"\src\binda\bin\Release\"
//Hard coded paths since f# via FAKE always returns x86 ProgramFiles
let nunit = __SOURCE_DIRECTORY__ + @"\src\packages\NUnit.ConsoleRunner.3.7.0\tools\nunit3-console.exe"
let packages = __SOURCE_DIRECTORY__ + @"\src\packages"
let version = getBuildParamOrDefault "ver" "0.0.1"
let testAssemblies = !! (@"src\binda.tests\bin\Debug\binda.tests.dll")
let packagingRoot = "./packaging/"
let packagingDir = packagingRoot @@ "binda"

let releaseNotes = 
    ReadFile "ReleaseNotes.md"
    |> ReleaseNotesHelper.parseReleaseNotes
    
//Helper
let rec getAllFiles dir pattern =
    seq { yield! Directory.EnumerateFiles(dir, pattern)
          for d in Directory.EnumerateDirectories(dir) do
              yield! getAllFiles d pattern }
    
//Restore Nuget stuff
Target "RestorePackages" (fun _ -> 
     "./src/binda.sln"
     |> RestoreMSSolutionPackages (fun _ ->
         RestorePackageDefaults)
 )

// Clean out the directories
Target "Clean" (fun _ ->
    CleanDirs [debugDir; releaseDir; packagingRoot; packagingDir;]
    CopyFile packagingDir "ReleaseNotes.md"

{'fraction_non_alphanumeric': 0.11393659180977543, 'fraction_numerical': 0.0066050198150594455, 'mean_word_length': 4.056761268781302, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '1106442', 'n_tokens_mistral': 1007, 'n_tokens_neox': 962, 'n_words': 245}