<commit_before>// include Fake libs
#I @"tools\FAKE\"
#r "FakeLib.dll"

open Fake

let targetWebsitePath = @"..\website\"

// Targets
Target "StopCassini" (fun _ ->
    killProcess "CassiniDev4"
)

Target "InstallWebsite" (fun _ ->
    XCopy @".\website\" targetWebsitePath
)

Target "StartCassini" (fun _ ->
    let args = "/a:" + @".\website"

    StartProcess
       (fun info ->  
           info.FileName <- @".\tools\cassini\CassiniDev4.exe"
           info.WorkingDirectory <- null
           info.Arguments <- args)
)

"StopCassini"
  ==> "InstallWebsite"
  ==> "StartCassini"
 
// start build
Run "StartCassini"<commit_msg>Issue #38 - Deploy cassini to the website folder - otherwise deploy process can't clean the path<commit_after>// include Fake libs
#I @"tools\FAKE\"
#r "FakeLib.dll"

open Fake

let targetWebsitePath = @"..\website\"

// Targets
Target "StopCassini" (fun _ ->
    killProcess "CassiniDev4"
)

Target "InstallWebsite" (fun _ ->
    XCopy @".\website\" targetWebsitePath
    XCopy @".\tools\cassini\" targetWebsitePath
)

Target "StartCassini" (fun _ ->
    let args = "/a:" + @".\website"

    StartProcess
       (fun info ->  
           info.FileName <- @".\website\CassiniDev4.exe"
           info.WorkingDirectory <- null
           info.Arguments <- args)
)

"StopCassini"
  ==> "InstallWebsite"
  ==> "StartCassini"
 
// start build
Run "StartCassini"
{'fraction_non_alphanumeric': 0.14974802015838734, 'fraction_numerical': 0.004319654427645789, 'mean_word_length': 2.7265415549597853, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, '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': '6343222', 'n_tokens_mistral': 513, 'n_tokens_neox': 460, 'n_words': 112}