Download scripts/build_gpu_geom.ps1 from kylinfires/worldgen-vulkan: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/kylinfires/worldgen-vulkan/resolve/main/scripts/build_gpu_geom.ps1
- Command line
-
hf download hf://kylinfires/worldgen-vulkan/scripts/build_gpu_geom.ps1
-
curl -L -o build_gpu_geom.ps1 https://huggingface.co/kylinfires/worldgen-vulkan/resolve/main/scripts/build_gpu_geom.ps1
408 Bytes
| $ErrorActionPreference = "Stop" | |
| $root = Split-Path -Parent $PSScriptRoot | |
| Push-Location (Join-Path $root "gpu-geom") | |
| cargo build --release | |
| Pop-Location | |
| New-Item -ItemType Directory -Force (Join-Path $root "tools/gpu-geom") | Out-Null | |
| Copy-Item (Join-Path $root "gpu-geom/target/release/gpu-geom.exe") (Join-Path $root "tools/gpu-geom/gpu-geom.exe") -Force | |
| Write-Host "gpu-geom -> tools/gpu-geom/gpu-geom.exe" | |