aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-06-24 13:37:01 -0700
committerJade Lovelace <lix@jade.fyi>2024-06-24 13:37:01 -0700
commiteb5de71adc7d376036dbf5c526300e8d20d2794e (patch)
tree7e5ac75605bd1d1363ab49ceb9bb78cc0ec4efb7 /justfile
parentd86009bd76ae85e56e1d26aab26d38f90ecb6439 (diff)
justfile: accept extra options to just setup and pass them to meson
This lets you get the default options and still be able to add more. Change-Id: Ife32c348b1498ff2ccdddf051a5bba520cfa36f0
Diffstat (limited to 'justfile')
-rw-r--r--justfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/justfile b/justfile
index d63c54990..6a93fa63f 100644
--- a/justfile
+++ b/justfile
@@ -9,8 +9,8 @@ clean:
rm -rf build
# Prepare meson for building
-setup:
- meson setup build --prefix="$PWD/outputs/out" $mesonFlags
+setup *OPTIONS:
+ meson setup build --prefix="$PWD/outputs/out" $mesonFlags {{ OPTIONS }}
# Build lix
build *OPTIONS: