Skip to content
Snippets Groups Projects
Commit 0e354d9a authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Copy configuration examples explicitly and only once.

Refers to #18
parent 74f66941
No related branches found
No related tags found
No related merge requests found
......@@ -62,9 +62,10 @@ Copy-Item -Exclude *.pdb -Recurse "$($BinariesDirService)\*" $tgt
Copy-Item -Exclude *.pdb -Recurse "$($BinariesDirTrayApp)\*" $tgt -EA Ignore
Copy-Item -Exclude *.pdb -Recurse "$($BinariesDirCfgTest)\*" $tgt -EA Ignore
# provide an up-to-date version of the example config file:
Copy-Item -Recurse "$($RsrcDirCommon)\conf" "$($tgt)\conf-example"
$example = New-Item -ItemType Container -Path $PkgDir -Name "conf-example"
Copy-Item "$($RsrcDirCommon)\conf\config.common.xml" $example
Copy-Item "$($RsrcDirCommon)\conf\host-specific.template.xml" $example
Copy-Item -Recurse "$($RsrcDirCommon)\conf" "$($PkgDir)"
Copy-Item "$($ResourceDir)\BuildDate.txt" "$($PkgDir)\AutoTx.log"
Copy-Item "$($ResourceDir)\BuildConfiguration.txt" $($PkgDir)
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment