Skip to content

Commit

Permalink
style: Use meson subcommands instead of ninja command
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano committed May 2, 2024
1 parent e1c664f commit 1fee8f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 1fee8f2

Please sign in to comment.