Skip to content

Commit

Permalink
Fix template expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Jun 28, 2024
1 parent 19e67ad commit ebb586f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Apply-Template.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ robocopy /mir $PSScriptRoot/.github $Path/.github
robocopy /mir $PSScriptRoot/.vscode $Path/.vscode
robocopy /mir $PSScriptRoot/tools $Path/tools
robocopy $PSScriptRoot $Path Directory.Build.* Directory.Packages.props global.json init.* azure-pipelines.yml .gitignore .gitattributes .editorconfig
robocopy $PSScriptRoot/src $Path/src Directory.Build.* .editorconfig AssemblyInfo.cs
robocopy $PSScriptRoot/src $Path/src Directory.Build.* .editorconfig AssemblyInfo.cs AssemblyInfo.vb
robocopy $PSScriptRoot/test $Path/test Directory.Build.* .editorconfig
Remove-Item $Path/azure-pipelines/expand-template.yml
3 changes: 3 additions & 0 deletions Expand-Template.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ try {
Replace-Placeholders -Path "src/AssemblyInfo.cs" -Replacements @{
'COMPANY-PLACEHOLDER'=$Author
}
Replace-Placeholders -Path "src/AssemblyInfo.vb" -Replacements @{
'COMPANY-PLACEHOLDER'=$Author
}
Replace-Placeholders -Path "LICENSE" -Replacements @{
'COMPANY-PLACEHOLDER'=$Author
}
Expand Down

0 comments on commit ebb586f

Please sign in to comment.