diff options
author | Patrick Jackson <patrick@jackson.dev> | 2024-05-08 08:19:37 -0700 |
---|---|---|
committer | Patrick Jackson <patrick@jackson.dev> | 2024-05-08 08:19:37 -0700 |
commit | 85f51fc10ba9f87ec863688de4b06ad4b76e4668 (patch) | |
tree | 26e9e62c6cd00154b587ce99976e067afdd57335 | |
parent | 8822fd7dd5254e781660704858f2eca386bdf5a2 (diff) |
Improve the justfile
Adds descriptions and a 'list' function that runs as the default
Change-Id: Ifee2c8ccd2694af0ca8bd94744f8be99f91b254a
-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 }} |