aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..9c142cc
--- /dev/null
+++ b/justfile
@@ -0,0 +1,21 @@
+import? 'cargo.just'
+
+set allow-duplicate-recipes := true
+
+default:
+ @just --list
+
+fetch:
+ curl https://raw.githubusercontent.com/Fuwn/justfiles/a6ca8a1b0475966ad10b68c44311ba3cb8b72a31/cargo.just > cargo.just
+
+fmt:
+ cargo +nightly fmt
+
+test:
+ cargo test --all-features
+
+docs:
+ cargo +nightly doc --open --no-deps
+
+example example:
+ cargo run --example {{ example }} --all-features