forked from SimonWahlin/gyPSum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plasterManifest.xml
67 lines (67 loc) · 4.71 KB
/
plasterManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<plasterManifest schemaVersion="1.0"
xmlns="http://www.microsoft.com/schemas/PowerShell/Plaster/v1">
<metadata>
<name>PSModule</name>
<id>d4215a18-ea33-4786-8e3f-35bd161e961d</id>
<version>1.0.2</version>
<title>PS Module Template</title>
<description>Template for creating a minimal PowerShell module</description>
<author>Gijs Reijn</author>
<tags>Module, ModuleManifest</tags>
</metadata>
<parameters>
<parameter name='ModuleName' type='text' prompt='Enter the name of the module'/>
<parameter name='ModuleDescription' type='text' prompt='Enter the description for the module' default='${PLASTER_PARAM_ModuleName} module.'/>
<parameter name='FullName' type='user-fullname' prompt='Enter your full name' store='text' />
<parameter name='Company' type='text' prompt='Enter company name' store='text' />
<parameter name='Version' type='text' prompt='Enter the version number of the module' default='0.1.0'/>
</parameters>
<content>
<message> Scaffolding your PowerShell Module... </message>
<!-- Folder structure -->
<file source='' destination='${PLASTER_PARAM_ModuleName}/src' />
<file source='' destination='${PLASTER_PARAM_ModuleName}/src/Private' />
<file source='' destination='${PLASTER_PARAM_ModuleName}/src/Public' />
<file source='' destination='${PLASTER_PARAM_ModuleName}/src/Classes' />
<file source='' destination='${PLASTER_PARAM_ModuleName}/cicd' />
<file source='source/_PrefixCode.ps1' destination='${PLASTER_PARAM_ModuleName}/src/_PrefixCode.ps1' />
<!-- Manifest -->
<newModuleManifest destination='${PLASTER_PARAM_ModuleName}/src/${PLASTER_PARAM_ModuleName}.psd1' moduleVersion='$PLASTER_PARAM_Version' rootModule='${PLASTER_PARAM_ModuleName}.psm1' author='${PLASTER_PARAM_FullName}' companyName='${PLASTER_PARAM_Company}' description='${PLASTER_PARAM_ModuleDescription}' encoding='UTF8-NoBOM'/>
<!-- Build file for ModuleBuilder -->
<templateFile source='source/build.psd1' destination='${PLASTER_PARAM_ModuleName}/src/build.psd1' />
<!-- Build file for ModuleBuilder -->
<templateFile source='source/script/Get-Function.ps1' destination='${PLASTER_PARAM_ModuleName}/src/Public/Get-Function.ps1' />
<!-- Module file for DEV code -->
<file source='source/Module.psm1' destination='${PLASTER_PARAM_ModuleName}/src/${PLASTER_PARAM_ModuleName}.psm1'/>
<!-- Pester tests -->
<file source='source/test/Manifest.tests.ps1' destination='${PLASTER_PARAM_ModuleName}/test/Manifest.tests.ps1' />
<file source='source/test/Help.tests.ps1' destination='${PLASTER_PARAM_ModuleName}/test/Help.tests.ps1' />
<file source='source/test/Function.tests.ps1' destination='${PLASTER_PARAM_ModuleName}/test/Function.tests.ps1' />
<file source='source/test/PSScriptAnalyzer.tests.ps1' destination='${PLASTER_PARAM_ModuleName}/test/PSScriptAnalyzer.tests.ps1' />
<!-- Script analyzer settings -->
<file source='source/ScriptAnalyzerSettings.psd1' destination='${PLASTER_PARAM_ModuleName}/ScriptAnalyzerSettings.psd1'/>
<!-- Script analyzer settings -->
<file source='source/requirements.psd1' destination='${PLASTER_PARAM_ModuleName}/requirements.psd1'/>
<!-- Bootstrap file -->
<file source='source/bootstrap.ps1' destination='${PLASTER_PARAM_ModuleName}/bootstrap.ps1'/>
<!-- .gitignore -->
<file source='source/.gitignore' destination='${PLASTER_PARAM_ModuleName}/.gitignore' />
<!-- Readme.md -->
<file source='source/Readme.md' destination='${PLASTER_PARAM_ModuleName}/Readme.md' />
<!-- InvokeBuild -->
<templateFile source='source/invoke.build.ps1' destination='${PLASTER_PARAM_ModuleName}/${PLASTER_PARAM_ModuleName}.build.ps1' />
<!-- Azure DevOps YAML pipeline -->
<file source='source/cicd/azure-pipelines.yml' destination='${PLASTER_PARAM_ModuleName}/cicd/azure-pipelines.yml' />
<!-- Editor files -->
<file source='source/editor/VSCode/settings.json' destination='${PLASTER_PARAM_ModuleName}/.vscode/settings.json' />
<file source='source/editor/VSCode/launch.json' destination='${PLASTER_PARAM_ModuleName}/.vscode/launch.json' />
<!-- License file -->
<file source='source/license/MIT.txt' destination='${PLASTER_PARAM_ModuleName}/license.txt' />
<!-- Changelog file -->
<file source='source/changelog/CHANGELOG.md' destination='${PLASTER_PARAM_ModuleName}/CHANGELOG.md' />
<!-- Summary messages -->
<message> Your new PowerShell module project '$PLASTER_PARAM_ModuleName' has been created. </message>
<message> A Pester tests has been created to validate the module's manifest file and help content. Add additional tests to the test directory.</message>
</content>
</plasterManifest>