CMake: Update default BUILD_PRESET arg to Release in WPT.sh

The presets were recently refactored and 'default' was
renamed to 'Release', but keeping it in sync with
any consumer shell scripts was missed.
This commit is contained in:
ayeteadoe 2025-07-19 08:45:08 -07:00 committed by Jelle Raaijmakers
commit f468f702d5
Notes: github-actions[bot] 2025-07-19 19:05:07 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ ensure_ladybird_source_dir
WPT_SOURCE_DIR=${WPT_SOURCE_DIR:-"${LADYBIRD_SOURCE_DIR}/Tests/LibWeb/WPT/wpt"}
WPT_REPOSITORY_URL=${WPT_REPOSITORY_URL:-"https://github.com/web-platform-tests/wpt.git"}
BUILD_PRESET=${BUILD_PRESET:-default}
BUILD_PRESET=${BUILD_PRESET:-Release}
BUILD_DIR=$(get_build_dir "$BUILD_PRESET")

View file

@ -66,7 +66,7 @@ get_build_dir() {
# Note: Keep in sync with buildDir defaults in CMakePresets.json
case "$1" in
"default")
"Release")
BUILD_DIR="${LADYBIRD_SOURCE_DIR}/Build/release"
;;
"Debug")