<commit_before>properties {
  $baseDir = resolve-path .
  $buildDir = "$baseDir\build"
  $sourceDir = "$baseDir\src"
  $artifactsDir = "$baseDir\artifacts"
  $global:config = "Debug"
}

task default -depends local
task local -depends init, compile
task ci -depends clean, release, local

task clean {
  Remove-Item "$artifactsDir" -recurse -force -ErrorAction SilentlyContinue | Out-Null
}

task init { 
  exec { .\build\dotnet\install.ps1 --Version "1.0.3" | Out-Default }
  exec { dotnet --version | Out-Default }
}

task release {
  $global:config = "Release"
}

task compile -depends clean {
  $projectPath = "$sourceDir\Steam.Models\project.json"

  $version = if ($env:APPVEYOR_BUILD_NUMBER -ne $NULL) { $env:APPVEYOR_BUILD_NUMBER } else { '0' }
  $version = "{0:D5}" -f [convert]::ToInt32($version, 10)

  exec { dotnet restore $projectPath }
  exec { dotnet build $projectPath -c $config }
  exec { dotnet pack $projectPath -c $config -o $artifactsDir --version-suffix $version }
}<commit_msg>Fixed wrong project file in build script.<commit_after>properties {
  $baseDir = resolve-path .
  $buildDir = "$baseDir\build"
  $sourceDir = "$baseDir\src"
  $artifactsDir = "$baseDir\artifacts"
  $global:config = "Debug"
}

task default -depends local
task local -depends init, compile
task ci -depends clean, release, local

task clean {
  Remove-Item "$artifactsDir" -recurse -force -ErrorAction SilentlyContinue | Out-Null
}

task init { 
  exec { .\build\dotnet\install.ps1 --Version "1.0.3" | Out-Default }
  exec { dotnet --version | Out-Default }
}

task release {
  $global:config = "Release"
}

task compile -depends clean {
  $projectPath = "$sourceDir\Steam.Models\Steam.Models.csproj"

  $version = if ($env:APPVEYOR_BUILD_NUMBER -ne $NULL) { $env:APPVEYOR_BUILD_NUMBER } else { '0' }
  $version = "{0:D5}" -f [convert]::ToInt32($version, 10)

  exec { dotnet restore $projectPath }
  exec { dotnet build $projectPath -c $config }
  exec { dotnet pack $projectPath -c $config -o $artifactsDir --version-suffix $version }
}
{'fraction_non_alphanumeric': 0.1404025527736868, 'fraction_numerical': 0.010800196367206676, 'mean_word_length': 3.9346246973365617, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4384850', 'n_tokens_mistral': 720, 'n_tokens_neox': 703, 'n_words': 184}