plaster/ModuleBuild/plasterManifest.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>ModuleBuild</name> <id>07a27ad4-a2ca-41d5-ac13-5c3ea64874bd</id> <version>0.0.8</version> <title>New ModuleBuild Project</title> <description>Create a new PowerShell Module with a ModuleBuild wrapper</description> <author>Zachary Loeber</author> <tags>Module, ModuleManifest, ModuleBuild</tags> </metadata> <parameters> <parameter name="ModuleName" type="text" prompt="Enter the name of the module. No space, underscores, or special characters are allowed" /> <parameter name="ModuleDescription" type="text" prompt="Enter a description of your module" /> <parameter name="ModuleAuthor" type="text" prompt="Enter a module author" /> <parameter name="ModuleWebsite" type="text" prompt="Enter a project website (ie. https://www.github.com/<author>/<modulename>)" /> <parameter name="ModuleVersion" type="text" prompt="Enter the version number of the module" default="0.0.1" /> <parameter name="ModuleTags" type="text" prompt="Comma separate list of tags that describe this module. This is required for the PowerShell Gallery" /> <parameter name="AdditionalModulePaths" type="text" prompt="Comma separate list of paths that will be included with the final module release (ie. .\libs,.\data)" default=" " /> <parameter name="NugetAPIKey" type="text" prompt="Enter a PowerShell Gallery (aka Nuget) API key. Without this you will not be able to upload your module to the Gallery" default=" " /> <parameter name="ProjectLicense" type="choice" prompt="What license would you like for this module to have?" default="0"> <choice label="&Creative Commons" help="This license lets others distribute, remix, tweak, and build upon your work, even commercially, as long as they credit you for the original creation." value="CreativeCommons" /> <choice label="&MIT" help="A short, permissive software license. Basically, you can do whatever you want as long as you include the original copyright and license notice in any copy of the software/source." value="MIT" /> <choice label="&Apache 2.0" help="You can do what you like with the software, as long as you include the required notices. This permissive license contains a patent license from the contributors of the code." value="Apache" /> <choice label="&GPL 3.0" help="You may copy, distribute and modify the software as long as you track changes/dates in source files. Any modifications to or software including (via compiler) GPL-licensed code must also be made available under the GPL along with build & install instructions." value="GPL" /> </parameter> <parameter name="OptionAnalyzeCode" type="choice" prompt="Use PSScriptAnalyzer in the module build process (Recommended for Gallery uploading)?" default="0"> <choice label="&Yes" help="Enable script analysis" value="True" /> <choice label="&No" help="Disable script analysis" value="False" /> </parameter> <parameter name="OptionCombineFiles" type="choice" prompt="Combine scripts into one psm1 in the module build process (Recommended for Gallery uploading)?" default="0"> <choice label="&Yes" help="Combine source files" value="True" /> <choice label="&No" help="Do not combine source files" value="False" /> </parameter> <parameter name="OptionUpdateVersionAfterPublishing" type="choice" prompt="Automatically increase the module patch version after publishing to the gallary?" default="0"> <choice label="&Yes" help="Increase the patch version after a successful publish to the gallery" value="True" /> <choice label="&No" help="Do not increase the patch version after a successful gallery publish" value="False" /> </parameter> <parameter name="OptionSanitizeSensitiveTerms" type="choice" prompt="Scan for sensitive terms (like your user id or company domain) in the module build process (Recommended for Gallery uploading)?" default="0"> <choice label="&Yes" help="Sanitize sensitive terms" value="True" /> <choice label="&No" help="Do not sanitize sensitive terms" value="False" /> </parameter> <parameter name="OptionGenerateReadTheDocs" type="choice" prompt="Generate YML file in build process for ReadTheDocs.org integration?" default="0"> <choice label="&Yes" help="The YML file will get regenerated at every build. This file gets saved in the root folder of your project." value="True" /> <choice label="&No" help="No YML file will be generated." value="False" /> </parameter> </parameters> <content> <newModuleManifest description="${PLASTER_PARAM_ModuleDescription}" copyright="(c) ${PLASTER_Year} ${PLASTER_PARAM_ModuleAuthor}. All rights reserved." tags="${PLASTER_PARAM_ModuleTags}" companyName="${PLASTER_PARAM_ModuleAuthor}" author="${PLASTER_PARAM_ModuleAuthor}" licenseUri="${PLASTER_PARAM_ModuleWebsite}/raw/master/license.md" projectUri="${PLASTER_PARAM_ModuleWebsite}" rootModule="${PLASTER_PARAM_ModuleName}.psm1" variablesToExport="" aliasesToExport="" iconUri="${PLASTER_PARAM_ModuleWebsite}/raw/master/src/other/powershell-project.png" functionsToExport="*" moduleVersion="${PLASTER_PARAM_ModuleVersion}" encoding="UTF8-NoBOM" destination="${PLASTER_PARAM_ModuleName}.psd1" /> <templateFile source="scaffold\gitignore" destination=".gitignore" /> <file source="scaffold\gitattributes" destination=".gitattributes" /> <templateFile source="scaffold\vscode\*" destination=".vscode" /> <file source="scaffold\src\other\*" destination="src\other" /> <file source="scaffold\src\private\*" destination="src\private" /> <file source="scaffold\src\public\*" destination="src\public" /> <file source="scaffold\tests\*" destination="src\tests" /> <file source="scaffold\build\cleanup\*" destination="build\cleanup" /> <file source="scaffold\build\startup\*" destination="build\startup" /> <file source="scaffold\build\dotsource\*" destination="build\dotsource" /> <file source="scaffold\build\tools\*" destination="build\tools" /> <templateFile source="scaffold\licenses\CreativeCommons.md" destination="License.md" condition="$PLASTER_PARAM_ProjectLicense -eq "CreativeCommons"" /> <templateFile source="scaffold\licenses\MIT.md" destination="License.md" condition="$PLASTER_PARAM_ProjectLicense -eq "MIT"" /> <templateFile source="scaffold\licenses\Apache.md" destination="License.md" condition="$PLASTER_PARAM_ProjectLicense -eq "Apache"" /> <templateFile source="scaffold\licenses\GPL.md" destination="License.md" condition="$PLASTER_PARAM_ProjectLicense -eq "GPL"" /> <templateFile source="scaffold\ModuleName.template" destination="${PLASTER_PARAM_ModuleName}.psm1" /> <templateFile source="scaffold\modulename.build.template" destination="${PLASTER_PARAM_ModuleName}.build.ps1" /> <templateFile source="scaffold\build\modulename.buildenvironment.template" destination="build\${PLASTER_PARAM_ModuleName}.buildenvironment.ps1" /> <templateFile source="scaffold\build\modulename.template.json" destination="build\${PLASTER_PARAM_ModuleName}.buildenvironment.json" /> <templateFile source="scaffold\readme.md" destination="Readme.md" /> <templateFile source="scaffold\Build.template" destination="Build.ps1" /> <templateFile source="scaffold\Install.template" destination="Install.ps1" /> <templateFile source="scaffold\build\docs\*" destination="build\docs" /> <templateFile source="scaffold\build\docs\ReadTheDocs\*" destination="build\docs\ReadTheDocs" /> <templateFile source="scaffold\build\docs\en-US\*" destination="build\docs\en-US" /> <templateFile source="scaffold\build\docs\ReadTheDocs\Acknowledgements\*" destination="build\docs\ReadTheDocs\Acknowledgements" /> <templateFile source="scaffold\build\docs\Additional\*" destination="build\docs\Additional" /> <templateFile source="scaffold\build\docs\Additional\*" destination="docs" /> </content> </plasterManifest> |