diff options
author | Patrick Jackson <patrick@jackson.dev> | 2024-05-08 20:54:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix-systems> | 2024-05-08 20:54:48 +0000 |
commit | 8552519bb81fc2ee2d11e76594fd7de9393f4fe9 (patch) | |
tree | a22833fd005f63873fd2e65806847da34bb1f426 | |
parent | f782c8a60a4be16eebf98ef329a8e614de814c30 (diff) | |
parent | 85f51fc10ba9f87ec863688de4b06ad4b76e4668 (diff) |
Merge "Improve the justfile" into main
-rw-r--r-- | justfile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,19 +1,27 @@ # 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 }} -compile: - just build +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 --quiet {{ OPTIONS }} |