File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ $ModuleToGenerate | ForEach-Object -Parallel {
8080 ExcludeExampleTemplates = $using :ExcludeExampleTemplates
8181 ExcludeNotesSection = $using :ExcludeNotesSection
8282 ArtifactsLocation = $using :ArtifactsLocation
83+ RequiredModules = $using :RequiredGraphModules
8384 }
8485 & $using :GenerateServiceModulePS1 @ServiceModuleParams
8586}
Original file line number Diff line number Diff line change 88 [ValidateSet (" v1.0" , " beta" )]
99 $ApiVersion = @ (" v1.0" , " beta" ),
1010 [Parameter (Mandatory = $true )] [ValidateNotNullOrEmpty ()] [string ] $ArtifactsLocation ,
11+ $RequiredModules = @ (),
1112 [switch ] $SkipGeneration = $false ,
1213 [switch ] $Build ,
1314 [switch ] $Test ,
@@ -81,7 +82,7 @@ $ApiVersion | ForEach-Object {
8182
8283 if ($Build ) {
8384 # Build generated module.
84- & $BuildModulePS1 - ModuleFullName $ModuleFullName - ModuleSrc $ModuleProjectPath - RequiredModules $RequiredGraphModules - EnableSigning:$EnableSigning - ExcludeExampleTemplates:$ExcludeExampleTemplates - ExcludeNotesSection:$ExcludeNotesSection - Version $ModuleMetadata.versions [$CurrentApiVersion ].version - Prerelease $ModuleMetadata.versions [$CurrentApiVersion ].prerelease - ModuleMetadata $ModuleMetadata.Clone ()
85+ & $BuildModulePS1 - ModuleFullName $ModuleFullName - ModuleSrc $ModuleProjectPath - RequiredModules $RequiredModules - EnableSigning:$EnableSigning - ExcludeExampleTemplates:$ExcludeExampleTemplates - ExcludeNotesSection:$ExcludeNotesSection - Version $ModuleMetadata.versions [$CurrentApiVersion ].version - Prerelease $ModuleMetadata.versions [$CurrentApiVersion ].prerelease - ModuleMetadata $ModuleMetadata.Clone ()
8586 & $CleanUpPsm1 - ModuleProjectPath $ModuleProjectPath - FullyQualifiedModuleName $ModuleFullName
8687 if ($LastExitCode -ne 0 ) {
8788 Write-Host - ForegroundColor Red " Failed to build '$ModuleFullName ' module."
You can’t perform that action at this time.
0 commit comments