AMay 6ef2d6ef32
Some checks failed
Emscripten Build / Build_and_Deploy_Web_Build (push) Successful in 7m32s
Emscripten Build / UnitTesting (push) Has been cancelled
Try to ignore files that end in .*Tests.cpp in case they don't get rearranged to the proper folder.
2026-05-03 23:31:00 -05:00

12 lines
361 B
PowerShell

(Get-Content -path $args[0] -Raw) |
ForEach-Object {
$defstr="#define VERSION_BUILD ";
$regex="$defstr(?<BuildVersion>\d*)";
if($_ -match $regex) {
$_ = $_ -replace $regex,"$($defstr)$(([int]$matches["BuildVersion"])+1)"
}
$_
} |
Out-File $args[0] -encoding ascii -nonewline
mv *Tests.cpp tests/