Memory setup for hot-reload & save states

This commit is contained in:
2024-01-22 00:22:06 -05:00
parent 3b259f2893
commit 77a48d7104
6 changed files with 36 additions and 24 deletions

View File

@ -1,8 +1,9 @@
cls
$path_root = git rev-parse --show-toplevel
$path_code = join-path $path_root 'code'
$path_build = join-path $path_root 'build'
$path_root = git rev-parse --show-toplevel
$path_code = join-path $path_root 'code'
$path_build = join-path $path_root 'build'
$path_thirdparty = join-path $path_root 'thirdparty'
# Odin Compiler Flags
@ -87,6 +88,12 @@ push-location $path_root
& odin $build_args
$third_party_dlls = Get-ChildItem -Path $path_thirdparty -Filter '*.dll'
foreach ($dll in $third_party_dlls) {
$destination = join-path $path_build $dll.Name
Copy-Item $dll.FullName -Destination $destination -Force
}
Pop-Location
}
build-prototype