mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-23 19:00:59 +00:00
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:
parent
92221f0c57
commit
f468f702d5
Notes:
github-actions[bot]
2025-07-19 19:05:07 +00:00
Author: https://github.com/ayeteadoe
Commit: f468f702d5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5523
Reviewed-by: https://github.com/gmta ✅
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue