Nulah.PowerShell/build/Scripts/CreateModuleManifest.ps1
Scott ecb0a20cbb feat: add Cake build to produce powershell module (#2)
- Add Cake build project
- Change to CPM
- Package bumps for security bumps
- Reorganise solution structure to group harness projects
2026-07-31 02:15:16 +00:00

24 lines
No EOL
552 B
PowerShell

param (
[string]$path,
[string]$guid,
[string]$author,
[string[]]$nestedModules,
[string]$rootModule,
[string[]]$cmdletsToExport,
[string]$manifestFileLocation
)
$manifestSplat = @{
Path = "$path"
GUID = "$guid"
Author = "$author"
NestedModules = @($nestedModules)
RootModule = "$rootModule"
CmdletsToExport = @($cmdletsToExport)
FunctionsToExport = @()
VariablesToExport = @()
AliasesToExport = @()
}
New-ModuleManifest @manifestSplat
New-Item "$manifestFileLocation" -ItemType File