Skip to content

Commit f916186

Browse files
committed
added enums support
1 parent 07a1cc5 commit f916186

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.build/template/Template.psm1

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,18 @@ if (Test-Path -Path $classesDataFilePath) {
5858

5959
#endregion Classes
6060

61+
#region Enums
62+
63+
$enumsPath = "$PSScriptRoot\enums"
64+
65+
if (Test-Path -Path $enumsPath) {
66+
Get-ChildItem -Path $enumsPath -Filter '*.ps1' | where PSIsContainer -eq $false | foreach {
67+
. $_.FullName
68+
}
69+
}
70+
71+
#endregion Enums
72+
6173
#region Private
6274

6375
$privatePath = "$PSScriptRoot\private"

.build/template/enums/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)