mirror of
https://github.com/netchx/netch.git
synced 2026-05-09 22:54:03 +08:00
Update build.ps1
This commit is contained in:
@@ -24,13 +24,10 @@ param (
|
||||
|
||||
Push-Location (Split-Path $MyInvocation.MyCommand.Path -Parent)
|
||||
|
||||
if (Test-Path -Path "$OutputPath") {
|
||||
if ( Test-Path -Path "$OutputPath" ) {
|
||||
rm -Recurse -Force "$OutputPath"
|
||||
}
|
||||
|
||||
if (Test-Path -Path "$OutputPath" -IsValid) {
|
||||
New-Item -ItemType Directory -Name "$OutputPath" | Out-Null
|
||||
}
|
||||
New-Item -ItemType Directory -Name "$OutputPath" | Out-Null
|
||||
|
||||
.\deps.ps1 "$OutputPath"
|
||||
if ( -Not $? ) { exit $lastExitCode }
|
||||
|
||||
Reference in New Issue
Block a user