psake / PowerShellBuild

Common build tasks for psake and Invoke-Build that build and test PowerShell modules
MIT License
133 stars 24 forks source link

Add PSM1 Module and Script Header / Footer #28

Closed pauby closed 5 years ago

pauby commented 5 years ago

Allows header and footers for the PSM1 file.

Description

Allows a header and footer to be added to:

Add's four new configuration variables to allow this:

Related Issue

15 and #25

Motivation and Context

Allows you to add more code to the PSM1 file than just the compield scripts.

How Has This Been Tested?

I've tested this in my own project by adding text to the configuration variables and watching the output.

Types of changes

Checklist: