File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 4444 Build-PSModuleBase - ModuleName $ModuleName - ModuleSourceFolder $moduleSourceFolder - ModuleOutputFolder $moduleOutputFolder
4545 Build-PSModuleManifest - ModuleName $ModuleName - ModuleOutputFolder $moduleOutputFolder
4646 Build-PSModuleRootModule - ModuleName $ModuleName - ModuleOutputFolder $moduleOutputFolder
47- Update-PSModuleManifestAliasesToExport - ModuleName $ModuleName - ModuleSourceFolder $moduleSourceFolder
47+ Update-PSModuleManifestAliasesToExport - ModuleName $ModuleName - ModuleSourceFolder $moduleSourceFolder - ModuleOutputFolder $moduleOutputFolder
4848
4949 LogGroup ' Build manifest file - Final Result' {
5050 $outputManifestPath = Join-Path - Path $ModuleOutputFolder - ChildPath " $ModuleName .psd1"
Original file line number Diff line number Diff line change 2323 [Parameter (Mandatory )]
2424 [string ] $ModuleName ,
2525
26- # Folder where the module is outputted .
26+ # Path to the folder where the module source code is located .
2727 [Parameter (Mandatory )]
28- [System.IO.DirectoryInfo ] $ModuleSourceFolder
28+ [System.IO.DirectoryInfo ] $ModuleSourceFolder ,
29+
30+ # Path to the folder where the built modules are outputted.
31+ [Parameter (Mandatory )]
32+ [System.IO.DirectoryInfo ] $ModuleOutputFolder
2933 )
3034 LogGroup ' Updating aliases to export in module manifest' {
3135 Write-Host " Module name: [$ModuleName ]"
8791 foreach ($alias in $allAliases ) {
8892 Write-Host " - [$alias ]"
8993 }
90- $outputManifestPath = Join-Path - Path $ModuleSourceFolder - ChildPath " $ModuleName .psd1"
94+ $outputManifestPath = Join-Path - Path $ModuleOutputFolder - ChildPath " $ModuleName .psd1"
9195 Write-Host " Output manifest path: [$outputManifestPath ]"
9296 Write-Host ' Setting module manifest with AliasesToExport'
9397 Set-ModuleManifest - Path $outputManifestPath - AliasesToExport $allAliases - Verbose
You can’t perform that action at this time.
0 commit comments