fix module manifest encoding

This commit is contained in:
OCram85 2017-07-27 14:25:50 +02:00
parent 86fa13f36d
commit 53ebbb2827
2 changed files with 13 additions and 3 deletions

View File

@ -9,10 +9,10 @@
@{ @{
# Script module or binary module file associated with this manifest. # Script module or binary module file associated with this manifest.
# RootModule = '' RootModule = 'PSCredentialStore'
# Version number of this module. # Version number of this module.
ModuleVersion = '1.0' ModuleVersion = $Env:APPVEYOR_BUILD_VERSION
# Supported PSEditions # Supported PSEditions
# CompatiblePSEditions = @() # CompatiblePSEditions = @()
@ -33,7 +33,7 @@
# Description = '' # Description = ''
# Minimum version of the Windows PowerShell engine required by this module # 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 # Name of the Windows PowerShell host required by this module
# PowerShellHostName = '' # PowerShellHostName = ''

View File

@ -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 *