diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 8868dde..062498a 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -63,8 +63,6 @@ push-location $path_root new-item -ItemType Directory -Path 'build' } - & $update_deps - function build-prototype { push-location $path_code @@ -90,6 +88,8 @@ push-location $path_root return } + & $update_deps + $build_args = @() $build_args += $flag_build $build_args += './host' diff --git a/scripts/debug.rdbg b/scripts/debug.rdbg new file mode 100644 index 0000000..133da8b Binary files /dev/null and b/scripts/debug.rdbg differ diff --git a/scripts/update_deps.ps1 b/scripts/update_deps.ps1 index 4b57d09..321ec84 100644 --- a/scripts/update_deps.ps1 +++ b/scripts/update_deps.ps1 @@ -35,7 +35,7 @@ if (Test-Path -Path $path_odin) & .\build.bat pop-location - $binaries_dirty = true + $binaries_dirty = $true } else { @@ -51,14 +51,14 @@ else & .\build.bat pop-location - $binaries_dirty = true + $binaries_dirty = $true } $path_vendor = join-path $path_odin 'vendor' $path_vendor_raylib = join-path $path_vendor 'raylib' $path_raylib_dlls = join-path $path_vendor_raylib 'windows' -if ( $binaries_dirty ) +if ( $binaries_dirty -or $true ) { $third_party_dlls = Get-ChildItem -Path $path_raylib_dlls -Filter '*.dll' foreach ($dll in $third_party_dlls) {