aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--justfile12
1 files changed, 10 insertions, 2 deletions
diff --git a/justfile b/justfile
index 215650b77..83743ec42 100644
--- a/justfile
+++ b/justfile
@@ -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 }}