plugins/plaster/manifesttools/PlasterContent.ps1
# Our plaster content $Content = @( @{ ContentType = 'newModuleManifest' Destination = '${PLASTER_PARAM_ModuleName}.psd1' moduleVersion = '${PLASTER_PARAM_ModuleVersion}' rootModule = '${PLASTER_PARAM_ModuleName}.psm1' copyright = '(c) ${PLASTER_Year} ${PLASTER_PARAM_ModuleCompanyName}. All rights reserved.' projectURI = '${PLASTER_PARAM_ModuleWebsite}' licenseURI = '${PLASTER_PARAM_ModuleWebsite}/raw/master/LICENSE.md' iconURI = '${PLASTER_PARAM_ModuleWebsite}/raw/master/src/other/powershell-project.png' author = '${PLASTER_PARAM_ModuleAuthor}' companyname = '${PLASTER_PARAM_ModuleCompanyName}' description = '${PLASTER_PARAM_ModuleDescription}' tags = '${PLASTER_PARAM_ModuleTags}' functionsToExport = '*' aliasesToExport = '' variablesToExport = '' encoding = 'UTF8-NoBOM' }, @{ ContentType = 'templateFile' Source = 'scaffold\gitignore' Destination = '.gitignore' }, @{ ContentType = 'file' Source = 'scaffold\gitattributes' Destination = '.gitattributes' }, @{ ContentType = 'templateFile' Source = 'scaffold\vscode\*' Destination = '.vscode' }, @{ ContentType = 'templateFile' Source = 'scaffold\github\*' Destination = '.github' }, @{ ContentType = 'file' Source = 'scaffold\src\other\*' Destination = 'src\other' }, @{ ContentType = 'file' Source = 'scaffold\src\private\*' Destination = 'src\private' }, @{ ContentType = 'file' Source = 'scaffold\src\public\*' Destination = 'src\public' }, @{ ContentType = 'file' Source = 'scaffold\src\templates\*' Destination = 'src\templates' }, @{ ContentType = 'file' Source = 'scaffold\tests\' Destination = 'tests' }, @{ ContentType = 'file' Source = 'scaffold\tests\meta\*' Destination = 'tests\meta' }, @{ ContentType = 'file' Source = 'scaffold\tests\intergration' Destination = 'tests\intergration' }, @{ ContentType = 'file' Source = 'scaffold\tests\unit' Destination = 'tests\unit' }, @{ ContentType = 'file' Source = 'scaffold\tests\intergration\private\*' Destination = 'tests\intergration\private' }, @{ ContentType = 'file' Source = 'scaffold\tests\intergration\public\*' Destination = 'tests\intergration\public' }, @{ ContentType = 'file' Source = 'scaffold\tests\unit\private\*' Destination = 'tests\unit\private' }, @{ ContentType = 'file' Source = 'scaffold\tests\unit\public\*' Destination = 'tests\unit\public' }, @{ ContentType = 'templateFile' Source = 'scaffold\plugins\.gitkeep' Destination = 'plugins\.gitkeep' }, @{ ContentType = 'templateFile' Source = 'scaffold\plugins\NLog\*' Destination = 'plugins\nlog' Condition = '$PLASTER_PARAM_PluginModuleLogging -eq "True"' }, @{ ContentType = 'file' Source = 'scaffold\build\cleanup\*' Destination = 'build\cleanup' }, @{ ContentType = 'file' Source = 'scaffold\build\startup\*' Destination = 'build\startup' }, @{ ContentType = 'file' Source = 'scaffold\build\dependencies\PSDepend\*' Destination = 'build\dependencies\PSDepend' }, @{ ContentType = 'templateFile' Source = 'scaffold\licenses\CreativeCommons.md' Destination = 'LICENSE.md' Condition = '$PLASTER_PARAM_ProjectLicense -eq "CreativeCommons"' }, @{ ContentType = 'templateFile' Source = 'scaffold\licenses\MIT.md' Destination = 'LICENSE.md' Condition = '$PLASTER_PARAM_ProjectLicense -eq "MIT"' }, @{ ContentType = 'templateFile' Source = 'scaffold\licenses\Apache.md' Destination = 'LICENSE.md' Condition = '$PLASTER_PARAM_ProjectLicense -eq "Apache"' }, @{ ContentType = 'templateFile' Source = 'scaffold\licenses\GPL.md' Destination = 'LICENSE.md' Condition = '$PLASTER_PARAM_ProjectLicense -eq "GPL"' }, @{ ContentType = 'templateFile' Source = 'scaffold\ModuleName.template' Destination = '${PLASTER_PARAM_ModuleName}.psm1' }, @{ ContentType = 'templateFile' Source = 'scaffold\modulename.build.template' Destination = '${PLASTER_PARAM_ModuleName}.build.ps1' }, @{ ContentType = 'templateFile' Source = 'scaffold\build\modulename.buildenvironment.template' Destination = 'build\${PLASTER_PARAM_ModuleName}.buildenvironment.ps1' }, @{ ContentType = 'templateFile' Source = 'scaffold\README.md' Destination = 'README.md' }, @{ ContentType = 'templateFile' Source = 'scaffold\Build.template' Destination = 'Build.ps1' }, @{ ContentType = 'templateFile' Source = 'scaffold\Install.template' Destination = 'Install.ps1' }, @{ ContentType = 'templateFile' Source = 'scaffold\build\docs\*' Destination = 'build\docs' }, @{ ContentType = 'templateFile' Source = 'scaffold\build\docs\en-US\about_ModuleName.help.txt' Destination = 'build\docs\en-US\about_${PLASTER_PARAM_ModuleName}.help.txt' }, @{ ContentType = 'templateFile' Source = 'scaffold\build\docs\Additional\*' Destination = 'build\docs\Additional' }, @{ ContentType = 'templateFile' Source = 'scaffold\build\docs\Additional\*' Destination = 'docs' }, @{ ContentType = 'templateFile' Source = 'scaffold\build\docs\ReadTheDocs\*' Destination = 'build\docs\ReadTheDocs' }, @{ ContentType = 'file' Source = 'scaffold\PSScriptAnalyzerSettings.psd1' Destination = 'PSScriptAnalyzerSettings.psd1' } @{ ContentType = 'file' Source = 'scaffold\CI\appveyor.yml' Destination = 'appveyor.yml' Condition = '$PLASTER_PARAM_CICD -eq "appveyor"' }, @{ ContentType = 'file' Source = 'scaffold\Requirements.psd1' Destination = 'Requirements.psd1' } ) |