Added recursive loading of imports

This commit is contained in:
KevinMarquette
2017-02-02 18:57:51 -08:00
parent e486a8fe6e
commit d9b462d47d

View File

@@ -7,7 +7,7 @@ foreach($folder in @('classes', 'private', 'public','includes'))
if(Test-Path -Path $root)
{
Write-Verbose "processing folder $root"
$files = Get-ChildItem -Path $root -Filter *.ps1
$files = Get-ChildItem -Path $root -Filter *.ps1 -Recurse
# dot source each file
$files | where-Object{ $_.name -NotLike '*.Tests.ps1'} |