diff --git a/src/PSCredentialStore.psd1 b/src/PSCredentialStore.psd1 index 8900b1b..0498f08 100644 --- a/src/PSCredentialStore.psd1 +++ b/src/PSCredentialStore.psd1 @@ -9,10 +9,10 @@ @{ # Script module or binary module file associated with this manifest. - # RootModule = '' + RootModule = 'PSCredentialStore' # Version number of this module. - ModuleVersion = '1.0' + ModuleVersion = $Env:APPVEYOR_BUILD_VERSION # Supported PSEditions # CompatiblePSEditions = @() @@ -33,7 +33,7 @@ # Description = '' # Minimum version of the Windows PowerShell engine required by this module - # PowerShellVersion = '' + PowerShellVersion = '4.0' # Name of the Windows PowerShell host required by this module # PowerShellHostName = '' diff --git a/src/PSCredentialStore.psm1 b/src/PSCredentialStore.psm1 new file mode 100644 index 0000000..61866b5 --- /dev/null +++ b/src/PSCredentialStore.psm1 @@ -0,0 +1,10 @@ +$Items = (Get-ChildItem -Path ("{0}\*.ps1" -f $PSScriptRoot ) -Recurse ).FullName | Where-Object { + $_ -notmatch "(Classes|Init)" +} +ForEach ($Item in $Items) { + # Write-Verbose ("dot sourcing file {0}" -f $Item) + . $Item +} + +# Exports are now controlled by module manifest +# Export-ModuleMember -Function *