Skip to content

Commit a13468d

Browse files
authored
style: Use meson subcommands instead of ninja command (#17)
1 parent e1c664f commit a13468d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
DESTDIR: out
2222
run: |
2323
meson setup builddir --prefix=/usr -Ddemo=true
24-
ninja -C builddir
25-
ninja -C builddir install
24+
meson compile -C builddir
25+
meson install -C builddir
2626
2727
lint:
2828

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,23 +88,23 @@ You'll need the following dependencies:
8888
* meson (>= 0.56.0)
8989
* valac
9090

91-
Run `meson setup` to configure the build environment and run `ninja` to build
91+
Run `meson setup` to configure the build environment and run `meson compile` to build:
9292

9393
```bash
9494
meson setup builddir --prefix=/usr
95-
ninja -C builddir
95+
meson compile -C builddir
9696
```
9797

98-
To install, use `ninja install`
98+
To install, use `meson install`:
9999

100100
```bash
101-
ninja install -C builddir
101+
meson install -C builddir
102102
```
103103

104104
You can optionally build and run a demo app:
105105

106106
```bash
107107
meson configure builddir -Ddemo=true
108-
ninja -C builddir
108+
meson compile -C builddir
109109
./builddir/examples/example
110110
```

0 commit comments

Comments
 (0)