aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorRebecca Turner <rbt@sent.as>2024-03-29 19:48:24 -0700
committerjade <lix@jade.fyi>2024-03-30 03:03:46 +0000
commit0b4e7389446de61166aeafa6068d9daf60fd4238 (patch)
tree798994756cc8764a67db824b62665b6df9968bea /justfile
parenta5a25894c152848d1a57f97b2ef5542ddf6cdb9d (diff)
Add a `justfile` to make `meson` friendly :)
Change-Id: Id6e4528392266c6f2444e030b67293abe297ed17
Diffstat (limited to 'justfile')
-rw-r--r--justfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 000000000..8c81867f0
--- /dev/null
+++ b/justfile
@@ -0,0 +1,19 @@
+# https://just.systems/man/en/
+
+clean:
+ rm -rf build
+
+setup:
+ meson setup build --prefix="$PWD/outputs/out"
+
+build:
+ meson compile -C build
+
+compile:
+ just build
+
+install:
+ meson install -C build
+
+test *OPTIONS:
+ meson test -C build --print-errorlogs --quiet {{ OPTIONS }}