Switch to "meson setup"

Fixes this warning:

    WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
This commit is contained in:
Simon Ser 2023-02-22 11:01:04 +01:00
parent b33ab26fe7
commit 254c5fc752
4 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@ sources:
tasks: tasks:
- setup: | - setup: |
cd wlroots cd wlroots
meson build --fatal-meson-warnings --default-library=both -Dauto_features=enabled -Dxcb-errors=disabled meson setup build --fatal-meson-warnings --default-library=both -Dauto_features=enabled -Dxcb-errors=disabled
- build: | - build: |
cd wlroots cd wlroots
ninja -C build ninja -C build

View file

@ -25,8 +25,8 @@ sources:
tasks: tasks:
- setup: | - setup: |
cd wlroots cd wlroots
CC=gcc meson build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr -Db_sanitize=address,undefined CC=gcc meson setup build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr -Db_sanitize=address,undefined
CC=clang meson build-clang --fatal-meson-warnings -Dauto_features=enabled CC=clang meson setup build-clang --fatal-meson-warnings -Dauto_features=enabled
- gcc: | - gcc: |
cd wlroots/build-gcc cd wlroots/build-gcc
ninja ninja

View file

@ -32,7 +32,7 @@ sources:
tasks: tasks:
- wlroots: | - wlroots: |
cd wlroots cd wlroots
meson build --fatal-meson-warnings -Dauto_features=enabled meson setup build --fatal-meson-warnings -Dauto_features=enabled
ninja -C build ninja -C build
sudo ninja -C build install sudo ninja -C build install
- tinywl: | - tinywl: |

View file

@ -64,7 +64,7 @@ If you choose to enable X11 support:
Run these commands: Run these commands:
meson build/ meson setup build/
ninja -C build/ ninja -C build/
Install like so: Install like so: