Switch reskin CLI build dir to build_native

This commit is contained in:
Mike Liu committed 2026-02-20 12:56:27 -08:00
1 parent dcec533392
commit 7b8b0965a5
4 files changed
+5 -6

No files matched your search

-1
View File
@@ -17,7 +17,6 @@ bin.*/
sequencesversion
objectsversion
/out/
/build-native/
#lib
lib
+1 -1
View File
@@ -6,7 +6,7 @@ This guide uses scripts in this repo to create editable object workspaces from a
- Input upload zip (example: `/Users/meiliu/Downloads/openrct2-upload.zip`)
- Docker available (used by `scripts/openrct2-cli-docker.sh`)
- `build-native/openrct2-cli` built once (the wrapper prints the exact build command if missing)
- `build_native/openrct2-cli` built once (the wrapper prints the exact build command if missing)
## 1) Initialize an editable workspace
+1 -1
View File
@@ -12,7 +12,7 @@ It is built from these scripts:
- Input upload zip (example: `/Users/meiliu/Downloads/openrct2-upload.zip`)
- Docker available (for `scripts/openrct2-cli-docker.sh`)
- `build-native/openrct2-cli` built once
- `build_native/openrct2-cli` built once
## 1) Initialize one or more workspaces
+3 -3
View File
@@ -5,7 +5,7 @@ set -euo pipefail
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
host_pwd="$(pwd -P)"
container_wd="/workspaces/OpenRCT2"
cli_host_path="$repo_root/build-native/openrct2-cli"
cli_host_path="$repo_root/build_native/openrct2-cli"
if [[ ! -x "$cli_host_path" ]]; then
cat >&2 <<EOF
@@ -13,7 +13,7 @@ Missing required CLI binary:
$cli_host_path
Build it first with:
docker run --rm -v "$repo_root:/workspaces/OpenRCT2" -w /workspaces/OpenRCT2 openrct2/openrct2-build:25-noble bash -lc 'cmake -S . -B build-native -G Ninja -DDISABLE_DISCORD_RPC=ON -DDOWNLOAD_TITLE_SEQUENCES=OFF -DDOWNLOAD_OBJECTS=OFF -DDOWNLOAD_OPENSFX=OFF -DDOWNLOAD_OPENMUSIC=OFF -DDOWNLOAD_REPLAYS=OFF -DDISABLE_GOOGLE_BENCHMARK=ON -DWITH_TESTS=OFF && cmake --build build-native -j4 --target openrct2-cli'
docker run --rm -v "$repo_root:/workspaces/OpenRCT2" -w /workspaces/OpenRCT2 openrct2/openrct2-build:25-noble bash -lc 'cmake -S . -B build_native -G Ninja -DDISABLE_DISCORD_RPC=ON -DDOWNLOAD_TITLE_SEQUENCES=OFF -DDOWNLOAD_OBJECTS=OFF -DDOWNLOAD_OPENSFX=OFF -DDOWNLOAD_OPENMUSIC=OFF -DDOWNLOAD_REPLAYS=OFF -DDISABLE_GOOGLE_BENCHMARK=ON -DWITH_TESTS=OFF && cmake --build build_native -j4 --target openrct2-cli'
EOF
exit 1
fi
@@ -30,4 +30,4 @@ exec docker run --rm \
-v "$repo_root:/workspaces/OpenRCT2" \
-w "$container_wd" \
openrct2/openrct2-build:25-noble \
/workspaces/OpenRCT2/build-native/openrct2-cli "$@"
/workspaces/OpenRCT2/build_native/openrct2-cli "$@"