Skip to content

Commit

Permalink
Fixed build script to copy *format.ps1xml files
Browse files Browse the repository at this point in the history
  • Loading branch information
codaamok committed Nov 20, 2021
1 parent 57482bb commit 490328a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## [Unreleased]
### Fixed
- Fixed build script to copy *format.ps1xml files

## [1.7.0] - 2021-11-19
### Changed
Expand Down
2 changes: 1 addition & 1 deletion codaamok.build/Files/invoke.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ task InitaliseBuildDirectory {
)

if (Test-Path -Path $BuildRoot\$Script:ModuleName\* -Include "*format.ps1xml") {
$Script:FormatFiles = Copy-Item -Path $BuildRoot\$Script:ModuleName -Destination $BuildRoot\build\$Script:ModuleName -Filter "*format.ps1xml" -PassThru
$Script:FormatFiles = Copy-Item -Path $BuildRoot\$Script:ModuleName\* -Destination $BuildRoot\build\$Script:ModuleName -Filter "*format.ps1xml" -PassThru
}

if (Test-Path -Path $BuildRoot\$Script:ModuleName\Files\*) {
Expand Down

0 comments on commit 490328a

Please sign in to comment.