<commit_before>param(
    [string]$package
    )

$module = join-path $env:ChocolateyInstall 'chocolateyinstall\helpers\chocolateyInstaller.psm1'
import-module "$module"

# $toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
# $contentDir = $($toolsDir | Split-Path | Join-Path -ChildPath "content")
$contentDir = split-path -parent $MyInvocation.MyCommand.Definition
$installer = join-path $contentDir 'CygwinInstaller.exe'

Get-ChocolateyWebFile 'cyg-get' $installer 'http://www.cygwin.com/setup.exe'

$binRoot = "$env:systemdrive\"
if($env:chocolatey_bin_root -ne $null){$binRoot = join-path $env:systemdrive $env:chocolatey_bin_root}
$cygRoot = join-path $binRoot "Cygwin"
$cygPackages = join-path $cygRoot packages

if($package -eq "default") {
  & $installer -q -R $cygRoot -l $cygPackages -s ftp://mirrors.kernel.org/sourceware/cygwin
} elseif ($package -eq "" -or $package -eq $null) {
  write-output "specify a package name or 'default' to install all of the base packages"
} else {
  & $installer -q -R $cygRoot -l $cygPackages -s ftp://mirrors.kernel.org/sourceware/cygwin -P $package
}<commit_msg>setup.exe does not exist<commit_after>param(
    [string]$package
    )

$module = join-path $env:ChocolateyInstall 'chocolateyinstall\helpers\chocolateyInstaller.psm1'
import-module "$module"

# $toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
# $contentDir = $($toolsDir | Split-Path | Join-Path -ChildPath "content")
$contentDir = split-path -parent $MyInvocation.MyCommand.Definition
$installer = join-path $contentDir 'CygwinInstaller.exe'

Get-ChocolateyWebFile 'cyg-get' $installer 'http://www.cygwin.com/setup_x86.exe'

$binRoot = "$env:systemdrive\"
if($env:chocolatey_bin_root -ne $null){$binRoot = join-path $env:systemdrive $env:chocolatey_bin_root}
$cygRoot = join-path $binRoot "Cygwin"
$cygPackages = join-path $cygRoot packages

if($package -eq "default") {
  & $installer -q -R $cygRoot -l $cygPackages -s ftp://mirrors.kernel.org/sourceware/cygwin
} elseif ($package -eq "" -or $package -eq $null) {
  write-output "specify a package name or 'default' to install all of the base packages"
} else {
  & $installer -q -R $cygRoot -l $cygPackages -s ftp://mirrors.kernel.org/sourceware/cygwin -P $package
}
{'fraction_non_alphanumeric': 0.14689016321129245, 'fraction_numerical': 0.00176444640494045, 'mean_word_length': 4.984168865435357, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2615506', 'n_tokens_mistral': 821, 'n_tokens_neox': 815, 'n_words': 181}