From 1fee8f28b63084bb54550f5550bf1f0f555572d5 Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Thu, 2 May 2024 15:56:30 +0900 Subject: [PATCH] style: Use meson subcommands instead of ninja command --- .github/workflows/main.yml | 4 ++-- README.md | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7e7325e..15439c3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,8 +21,8 @@ jobs: DESTDIR: out run: | meson setup builddir --prefix=/usr -Ddemo=true - ninja -C builddir - ninja -C builddir install + meson compile -C builddir + meson install -C builddir lint: diff --git a/README.md b/README.md index 68555eb..303996e 100644 --- a/README.md +++ b/README.md @@ -88,23 +88,23 @@ You'll need the following dependencies: * meson (>= 0.56.0) * valac -Run `meson setup` to configure the build environment and run `ninja` to build +Run `meson setup` to configure the build environment and run `meson compile` to build: ```bash meson setup builddir --prefix=/usr -ninja -C builddir +meson compile -C builddir ``` -To install, use `ninja install` +To install, use `meson install`: ```bash -ninja install -C builddir +meson install -C builddir ``` You can optionally build and run a demo app: ```bash meson configure builddir -Ddemo=true -ninja -C builddir +meson compile -C builddir ./builddir/examples/example ```