Skip to content

Instantly share code, notes, and snippets.

View ferwe's full-sized avatar

Ferdi Weiner ferwe

View GitHub Profile
# Dependencies must go first
# Possibility to define Modules which are dependencies of Modules defined in "requiredmodules" in psd1
$RequiredModulesOfDependencies = @(
@{ModuleName = 'Module1' }
@{ModuleName = 'Module2' }
@{ModuleName = 'Module3' }
)
# Get the Modules which are defined at requiredmodules in PSD1
$RequiredModulesFromPSD1 = $(Import-LocalizedData -FileName %ActualModulName%.psd1 -BaseDirectory "$($publishDir.FullName)\%ActualModulName%").RequiredModules
$RequiredModules = $RequiredModulesOfDependencies + $RequiredModulesFromPSD1

Keybase proof

I hereby claim:

  • I am ferwe on github.
  • I am ferwe (https://keybase.io/ferwe) on keybase.
  • I have a public key whose fingerprint is 07A3 730D D771 1350 AC30 9664 53B6 0DD8 DFCB DD1D

To claim this, I am signing this object: