forked from markekraus/AutoDocumentsExample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PlasterManifest.xml
106 lines (97 loc) · 4.68 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?xml version="1.0" encoding="utf-8"?>
<plasterManifest
schemaVersion="1.1"
templateType="Project" xmlns="http://www.microsoft.com/schemas/PowerShell/Plaster/v1">
<metadata>
<name>AutoDocumentsPlaster</name>
<id>22448b40-b966-4cd6-8b9c-d87521a74698</id>
<version>1.0.0</version>
<title>AutoDocuments Plaster Template</title>
<description></description>
<author>Corey Keller</author>
<tags></tags>
</metadata>
<parameters>
<!-- Module Info -->
<parameter name='ModuleName'
type='text'
prompt='Enter the name of the module'/>
<parameter name='Description'
type='text'
prompt='Enter a description of the module'/>
<parameter name='Version'
type='text'
default='0.1.0'
prompt='Enter the version number (1.2.3) for the module'/>
<!-- User Details -->
<parameter name='FullName'
type='user-fullname'
store='text'
prompt='Enter your full name'/>
<parameter name='PSGalleryAPIKey'
type='text'
store='text'
prompt='Enter your AppVeyor encrypted PowerShell Gallery API Key'/>
<parameter name='GitAccessToken'
type='text'
store='text'
prompt='Enter your AppVeyor encrypted GitHub Access Token'/>
<parameter name="GitHubRepo"
type="text"
default="${PLASTER_PARAM_ModuleName}"
prompt="Enter the GitHub repo name for this module"/>
<parameter name="GitHubUserName"
type="user-fullname"
default="${PLASTER_PARAM_FullName}"
prompt="Enter your GitHub username"/>
<parameter name="GitHubDomain"
type="text"
default="github.com"
prompt="Enter the GitHub domain this project will be hosted on"/>
<!-- Licensing -->
<parameter name='License'
type='choice'
default='0'
store='text'
prompt='Select a license for your module'>
<choice label='&AGPL'
help='Adds an Apache license file.'
value="AGPL"/>
<choice label='A&pache'
help='Adds an Apache license file.'
value="Apache"/>
<choice label='&GPL'
help='Adds an Apache license file.'
value="GPL"/>
<choice label='&MIT'
help='Adds an MIT license file.'
value='MIT'/>
<choice label='&None'
help='No license specified.'
value='None'/>
</parameter>
</parameters>
<content>
<message>Setting up your project</message>
<newModuleManifest destination='${PLASTER_PARAM_ModuleName}\${PLASTER_PARAM_ModuleName}.psd1' moduleVersion='$PLASTER_PARAM_ModuleVersion' rootModule='${PLASTER_PARAM_ModuleName}.psm1' author='$PLASTER_PARAM_FullName' description='$PLASTER_PARAM_ModuleDesc'/>
<templateFile source='template\ModuleName\ModuleName.psm1' destination='${PLASTER_PARAM_ModuleName}\${PLASTER_PARAM_ModuleName}.psm1'/>
<templateFile source='template\appveyor.yml' destination='appveyor.yml'/>
<templateFile source='template\header-mkdocs.yml' destination='header-mkdocs.yml'/>
<templateFile source='template\README.md' destination='README.md'/>
<templateFile source='template\CHANGELOG.md' destination='CHANGELOG.md'/>
<templateFile source='template\docs\index.md' destination='docs\index.md'/>
<templateFile source='template\license\AGPL.txt' destination='LICENSE' condition="$PLASTER_PARAM_License -eq 'AGPL'"/>
<templateFile source='template\license\Apache.txt' destination='LICENSE' condition="$PLASTER_PARAM_License -eq 'Apache'"/>
<templateFile source='template\license\GPL.txt' destination='LICENSE' condition="$PLASTER_PARAM_License -eq 'GPL'"/>
<templateFile source='template\license\MIT.txt' destination='LICENSE' condition="$PLASTER_PARAM_License -eq 'MIT'"/>
<file source='template\.gitignore' destination='.gitignore'/>
<file source='template\build.depend.psd1' destination='build.depend.psd1'/>
<file source='template\build.ps1' destination='build.ps1'/>
<file source='template\psake.ps1' destination='psake.ps1'/>
<file source='template\deploy.PSDeploy.ps1' destination='deploy.PSDeploy.ps1'/>
<file source='template\GitVersion.yml' destination='GitVersion.yml'/>
<file source='template\tests\**' destination='tests'/>
<file source='template\ModuleName\Public\**' destination='${PLASTER_PARAM_ModuleName}\Public'/>
<file source='template\ModuleName\Private\**' destination='${PLASTER_PARAM_ModuleName}\Private'/>
</content>
</plasterManifest>