PoshCode / ModuleBuilder

A PowerShell Module to help scripters write, version, sign, package, and publish.
MIT License
445 stars 54 forks source link

Version 1.5.2 doesn't copy in the prefix file #88

Closed mattmcnabb closed 4 years ago

mattmcnabb commented 4 years ago

I have this build.psd1 file:

@{
    ModuleManifest = "ModuleName.psd1"
    CopyDirectories = @("Formats", "Lib")
    Target = "CleanBuild"
    Prefix = "./Prefix.ps1"
    Suffix = "./Suffix.ps1"
}

When I run Build-Module .\build.psd1 the contents of the prefix file are not copied in to the resulting psm1 file, but the suffix is included.

I verified that this works if I load the v1.0.0 module.