From 0e1c26f3ea409eedc996d3ecd90afc8f50ae3786 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Thu, 21 Sep 2017 10:59:30 +0200 Subject: [PATCH] adds build task --- .vscode/tasks.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 304f242..db4b410 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -43,8 +43,10 @@ "suppressTaskName": true, "args": [ "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};", - "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": { "kind": "build",