Qyriad
bb6d43b63b
`meson test` refuses to let `--verbose` (which shows the entire
invocation and stdio) override `--quiet`, but if neither are specified
in the justfile then you can use either `just test -q` or `just test -v`
Change-Id: I449e13084ce64666b7ee2ab4280818782fb8185a
28 lines
495 B
Makefile
28 lines
495 B
Makefile
# https://just.systems/man/en/
|
|
|
|
# List all available targets
|
|
list:
|
|
just --list
|
|
|
|
# Clean build artifacts
|
|
clean:
|
|
rm -rf build
|
|
|
|
# Prepare meson for building
|
|
setup:
|
|
meson setup build --prefix="$PWD/outputs/out"
|
|
|
|
# Build lix
|
|
build *OPTIONS:
|
|
meson compile -C build {{ OPTIONS }}
|
|
|
|
alias compile := build
|
|
|
|
# Install lix for local development
|
|
install *OPTIONS: (build OPTIONS)
|
|
meson install -C build
|
|
|
|
# Run tests
|
|
test *OPTIONS:
|
|
meson test -C build --print-errorlogs {{ OPTIONS }}
|