From 69504639663a1ee643f1284b4b27886cf2e96d33 Mon Sep 17 00:00:00 2001 From: dfinke Date: Sun, 15 Jul 2018 12:33:03 -0400 Subject: [PATCH] Create the zip file if tests pass --- DoTests.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DoTests.ps1 b/DoTests.ps1 index cd03a46..7c7dce8 100644 --- a/DoTests.ps1 +++ b/DoTests.ps1 @@ -8,4 +8,6 @@ $result = Invoke-Pester -Script $PSScriptRoot\__tests__ -Verbose -PassThru if ($result.FailedCount -gt 0) { throw "$($result.FailedCount) tests failed." -} \ No newline at end of file +} + +Compress-Archive -Path . -DestinationPath .\ImportExcel.zip \ No newline at end of file