adds build task

This commit is contained in:
OCram85 2017-09-21 10:59:30 +02:00
parent a5c252c425
commit 0e1c26f3ea

4
.vscode/tasks.json vendored
View File

@ -43,8 +43,10 @@
"suppressTaskName": true, "suppressTaskName": true,
"args": [ "args": [
"Write-Host 'Invoking Build...';", "Write-Host 'Invoking Build...';",
"Write-Host -Object 'Test previous builds.' -ForegroundColor Blue;",
"If (Test-Path -Path '.\\bin\\PSCredentialStore.zip') { Remove-Item -Path '.\\bin\\PSCredentialStore.zip' -Verbose};", "If (Test-Path -Path '.\\bin\\PSCredentialStore.zip') { Remove-Item -Path '.\\bin\\PSCredentialStore.zip' -Verbose};",
"Compress-Archive -Path '.\\src\\*' -DestinationPath '.\\bin\\PSCredentialStore.zip' -Update -Verbose" "Copy-Item -Path '.\\src\\' -Destination '.\\bin\\PSCredentialStore' -Recurse -Verbose -Force;",
"Compress-Archive -Path '.\\src\\*' -DestinationPath '.\\bin\\PSCredentialStore.zip' -Update -Verbose;"
], ],
"group": { "group": {
"kind": "build", "kind": "build",