mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-29 03:31:59 -07:00
13 lines
463 B
PowerShell
13 lines
463 B
PowerShell
param ( [string]$target )
|
|
if ( ! (test-path ${target} ) ) {
|
|
new-item -type directory ${target}
|
|
}
|
|
else {
|
|
if ( test-path -pathtype leaf ${target} ) {
|
|
remove-item -force ${target}
|
|
new-item -type directory ${target}
|
|
}
|
|
}
|
|
push-location C:/vscode-powershell
|
|
Invoke-Build GetExtensionVersion,Clean,Build,Test,Package
|
|
Copy-Item -Verbose -Recurse "C:/vscode-powershell/PowerShell-insiders.vsix" "${target}/PowerShell-insiders.vsix"
|