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
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…
Reference in a new issue