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
This commit is contained in:
parent
274d279732
commit
ecb0a20cbb
27 changed files with 267 additions and 58 deletions
24
build/Scripts/CreateModuleManifest.ps1
Normal file
24
build/Scripts/CreateModuleManifest.ps1
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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
|
||||
Loading…
Reference in a new issue