Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Commit 9f72f60

Browse files
committed
Create [out] directory if it doesn't exist
1 parent 357b9fa commit 9f72f60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

psake.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ properties {
88
$sut = $env:BHModulePath
99
$tests = Join-Path -Path $projectRoot -ChildPath 'Tests'
1010
$outputDir = Join-Path -Path $projectRoot -ChildPath 'out'
11+
if (-not (Test-Path -Path $outputDir)) {
12+
New-Item -Path $outputDir -ItemType Directory
13+
}
1114
$manifest = Import-PowerShellDataFile -Path $env:BHPSModuleManifest
1215
}
1316

0 commit comments

Comments
 (0)