From a13468d41dea36f4d3baabe6ebf4026a5575313e Mon Sep 17 00:00:00 2001
From: Ryo Nakano <ryonakaknock3@gmail.com>
Date: Thu, 2 May 2024 15:58:40 +0900
Subject: [PATCH] style: Use meson subcommands instead of ninja command (#17)

---
 .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
 ```