15 строки
397 B
PowerShell
15 строки
397 B
PowerShell
$Functions = @( Get-ChildItem -Path $PSScriptRoot/*.ps1 -ErrorAction SilentlyContinue )
|
|
|
|
foreach($i in $Functions){
|
|
. $i.FullName
|
|
|
|
Write-Host "Importing $($i.FullName)"
|
|
}
|
|
|
|
Export-ModuleMember -Function $Functions.BaseName
|
|
|
|
Write-Host "Importing Configuration.... "
|
|
Export-ModuleMember -Variable AVAILABLE_SUITES
|
|
Export-ModuleMember -Variable AVAILABLE_LANGUAGES
|
|
|
|
Write-Host "IMPORTING " |