PlasterTemplate/PlasterManifest-example.xml
<?xml version="1.0" encoding="utf-8"?>
<plasterManifest schemaVersion="1.1" templateType="Project" xmlns="http://www.microsoft.com/schemas/PowerShell/Plaster/v1"> <metadata> <name>ScriptModuleTemplate</name> <id>7b92c62e-2fc3-40da-84b6-b5cb0f489ce5</id> <version>1.0.0</version> <title>ScriptModuleTemplate</title> <description>Scaffolds the files required for a PowerShell script module</description> <author>John McCrae</author> <tags>PowerShell, Module, ModuleManifest</tags> </metadata> <parameters> <parameter name='ModuleName' type='text' prompt='Name of the module' /> <parameter name='Description' type='text' prompt='Brief description of module (required for publishing to the PowerShell Gallery)' /> <parameter name='Version' type='text' default='0.1.0' prompt='Enter the version number of the module' /> <parameter name='ModuleAuthor' type='user-fullname' prompt="Module author's name" store='text' /> <parameter name='CompanyName' type='text' prompt='Name of your Company' default='mikefrobbins.com' /> <parameter name='PowerShellVersion' default='3.0' type='text' prompt='Minimum PowerShell version' /> </parameters> <content> <message> Creating folder structure </message> <file source='' destination='\docs\images'/> <file source='' destination='\tests'/> <file source='' destination='\spec'/> <file source='' destination='\tests'/> <file source='' destination='\${PLASTER_PARAM_ModuleName}\public'/> <file source='' destination='\${PLASTER_PARAM_ModuleName}\private'/> <file source='' destination='\${PLASTER_PARAM_ModuleName}\classes'/> <file source='' destination='\${PLASTER_PARAM_ModuleName}\data'/> <message> Deploying common files </message> <file source='\root\build.ps1' destination='\'/> <file source='\root\mkdocs.yml' destination='\'/> <file source='\root\LICENSE.yml' destination='\'/> <file source='\root\PITCHME.md' destination='\'/> <file source='\root\psake.ps1' destination='\'/> <file source='\root\readme.ps1' destination='\'/> <file source='\root\docs\about.md' destination='\docs'/> <file source='\root\docs\acknowledgements.md' destination='\docs'/> <file source='\root\docs\index.md' destination='\docs'/> <file source='\root\docs\Quick-Start-Installation-and-Example.md' destination='\docs'/> <file source='\root\tests\Project.Tests.ps1' destination='\tests'/> <file source='\root\tests\Help.Tests.ps1' destination='\tests'/> <file source='\root\tests\Feature.Tests.ps1' destination='\tests'/> <file source='\root\tests\Regression.Tests.ps1' destination='\tests'/> <file source='\root\tests\Unit.Tests.ps1' destination='\tests'/> <file source='\root\spec\module.feature' destination='\spec'/> <file source='\root\spec\module.Steps.ps1' destination='\spec'/> <file source='\root\module\module.psm1' destination='\${PLASTER_PARAM_ModuleName}\${PLASTER_PARAM_ModuleName}.psm1'/> <newModuleManifest destination='\${PLASTER_PARAM_ModuleName}\${PLASTER_PARAM_ModuleName}.psd1' moduleVersion='$PLASTER_PARAM_Version' rootModule='${PLASTER_PARAM_ModuleName}.psm1' author='$PLASTER_PARAM_FullName' description='$PLASTER_PARAM_ModuleDesc' encoding='UTF8-NoBOM'/> </content> </plasterManifest> |