Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Catesta.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,8 @@ Add-BuildTask Build {
$null = $scriptContent.AppendLine('')
}
$scriptContent.ToString() | Out-File -FilePath $script:BuildModuleRootFile -Encoding utf8 -Force
# Cleanup the combined root module and remove extra trailing lines at the end of the file.
Invoke-Formatter $script:BuildModuleRootFile -ErrorAction SilentlyContinue
Write-Build Gray ' ...Module creation complete.'

#here we update the parent level docs. If you would prefer not to update them, comment out this section.
Expand Down
2 changes: 2 additions & 0 deletions src/Catesta/Resources/Module/src/PSModule.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,8 @@ Add-BuildTask Build {
$null = $scriptContent.AppendLine('')
}
$scriptContent.ToString() | Out-File -FilePath $script:BuildModuleRootFile -Encoding utf8 -Force
# Cleanup the combined root module and remove extra trailing lines at the end of the file.
Invoke-Formatter $script:BuildModuleRootFile -ErrorAction SilentlyContinue
Write-Build Gray ' ...Module creation complete.'

Write-Build Gray ' Cleaning up leftover artifacts...'
Expand Down
Loading