Skip to content

Commit b6b50a4

Browse files
committed
[build] Update CHANGELOG and build script.
1 parent 46c0212 commit b6b50a4

File tree

2 files changed

+28
-6
lines changed

2 files changed

+28
-6
lines changed

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
# WASimCommander - Changes Log
1+
# WASimCommander - Change Log
2+
3+
## 1.0.0.6-beta2 (Jul-11-2022)
4+
### WASimModule
5+
* The `SendKey` command can now accept known key event IDs by name (and do the lookup automatically).
6+
* Stopped pre-compiling "Formatted" type calculator strings (for `format_calculator_string()`) since that seems to be broken in MSFS.
7+
([Query posted to devsupport](https://devsupport.flightsimulator.com/questions/9513/gauge-calculator-code-precompile-with-code-meant-f.html))
8+
* Pause event loop processing (`tick()`) when all clients disconnect.
9+
10+
### WASimClient
11+
* Minor adjustment to list result processing to ensure proper cancellation in case something is interrupted.
12+
13+
### WASimClient_CLI
14+
* Fix exception when setting a char_array<> value from empty strings. Eg. `DataRequest.unitName` or `Command.sData`.
15+
16+
### WASimUI
17+
* Display a message when a string-type calculator result returns an empty string (instead of just blank space).
18+
219

320
## 1.0.0.5-beta1 (Jul-04-2022)
421
- Initial release!

build/build.ps1

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ $PackagePath = "$DistPath\package"
3333
$ModulePath = "${SrcPath}\WASimModule\WASimModuleProject\WASimCommander-Module\WASimCommander-Module.xml"
3434
$ModuleDest = "${DistPath}\module"
3535
$ModulePackage = "${PackagePath}\module"
36+
$DocsDistroPath = "$RootPath\..\WASimCommander-project\gh-pages"
3637

3738
$testApps = @{
3839
"$BuildPath\CS_BasicConsole\Release-$Platform\$Platform\Release\net6.0-windows" = "$PackagePath\bin\CS_BasicConsole";
@@ -98,13 +99,20 @@ if ($build.module)
9899
# -nopause
99100
}
100101

102+
$copyOptions = @("/S", "/A", "/NP", "/LOG+:""$DistPath\copy.log""")
103+
Remove-Item "$DistPath\copy.log" -ErrorAction Ignore | Out-Null
104+
101105
if ($build.docs)
102106
{
103107
Write-Output "Generating documentation with Doxygen..."
104108
Push-Location -Path "${DocsPath}"
105109
Remove-Item "${DocsPath}\html" -Force -Recurse
106110
& $Doxygen "Doxyfile"
107111
Pop-Location
112+
if (Test-Path $DocsDistroPath) {
113+
robocopy "${DocsPath}\html" "$DocsDistroPath" /XD .git /MIR $copyOptions
114+
Write-Output "Copied docs to distro folder $DocsDistroPath"
115+
}
108116
}
109117

110118
if (-not $build.package) {
@@ -118,9 +126,6 @@ $libStatic = "${libPath}\static"
118126
$libDynamic = "${libPath}\dynamic"
119127
$libManaged = "${libPath}\managed"
120128

121-
$copyOptions = @("/S", "/A", "/NP", "/LOG+:""$DistPath\copy.log""")
122-
Remove-Item "$DistPath\copy.log" -ErrorAction Ignore | Out-Null
123-
124129
# include folder
125130
robocopy "$SrcPath\include" "$PackagePath\include" $copyOptions /XF .* *.in
126131
if ($LastExitCode -ge 8) { Write-Output($LastExitCode); Exit 1 }
@@ -185,13 +190,13 @@ $destZipFile = "$DistPath\${SERVER_NAME}-$fileVersion.zip"
185190
if (Test-Path $destZipFile) {
186191
Remove-Item $destZipFile -Force
187192
}
188-
& "$ZipUtil" a "$destZipFile" "$ModulePackage\*" -tzip
193+
& "$ZipUtil" a "$destZipFile" "$ModulePackage\*" "$PackagePath\CHANGELOG.md" -tzip
189194

190195
$destZipFile = "$DistPath\${APP_GUI_NAME}-$fileVersion.zip"
191196
if (Test-Path $destZipFile) {
192197
Remove-Item $destZipFile -Force
193198
}
194-
& "$ZipUtil" a "$destZipFile" "$PackagePath\bin\${APP_GUI_NAME}" -tzip
199+
& "$ZipUtil" a "$destZipFile" "$PackagePath\bin\${APP_GUI_NAME}" "$PackagePath\CHANGELOG.md" -tzip
195200

196201

197202
Write-Output ("`nC'est fini!")

0 commit comments

Comments
 (0)