diff --git a/deps.ps1 b/deps.ps1 index 7a5baea8..eec18711 100644 --- a/deps.ps1 +++ b/deps.ps1 @@ -3,7 +3,7 @@ param ( $OutputPath = 'release' ) -if ( -Not (Test-Path -Path "$OutputPath") ) { +if ( -Not ( Test-Path -Path "$OutputPath" ) ) { New-Item -ItemType Directory -Name "$OutputPath" | Out-Null } @@ -11,17 +11,5 @@ Push-Location "$OutputPath" New-Item -ItemType Directory -Name 'bin' | Out-Null New-Item -ItemType Directory -Name 'mode' | Out-Null New-Item -ItemType Directory -Name 'i18n' | Out-Null - -Get-ChildItem -Path '..\scripts\deps' -File | ForEach-Object { - $name=$_.Name - - Write-Host "Executing $name" - & "..\scripts\deps\$name" -OutputPath 'bin' - if ( -Not $? ) { - Pop-Location - exit $lastExitCode - } -} - Pop-Location exit 0 \ No newline at end of file