Skip to content

Commit

Permalink
Merge pull request #50 from theohbrothers/fix/modulemanifest-export-f…
Browse files Browse the repository at this point in the history
…unctions-instead-of-cmdlets

Fix (modulemanifest): Export functions instead of cmdlets
  • Loading branch information
leojonathanoh authored May 28, 2021
2 parents 58588f2 + 40ddee0 commit 448e561
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/definitions/modulemanifest/definition.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
# TypesToProcess = @()
# FormatsToProcess = @()
# NestedModules = @()
FunctionsToExport = @()
CmdletsToExport = @(
'Generate-DockerImageVariants'
FunctionsToExport = @(
Get-ChildItem $PSScriptRoot/../../../src/Generate-DockerImageVariants/public -Exclude *.Tests.ps1 | % { $_.BaseName }
)
CmdletsToExport = @()
VariablesToExport = @()
AliasesToExport = @()
# DscResourcesToExport = @()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ PowerShellVersion = '3.0'
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @()
FunctionsToExport = 'Generate-DockerImageVariants'

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = 'Generate-DockerImageVariants'
CmdletsToExport = @()

# Variables to export from this module
# VariablesToExport = @()
Expand Down

0 comments on commit 448e561

Please sign in to comment.