aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2024-06-23 10:55:47 +0200
committerDaniel Jankowski <daniel.jankowski@rub.de>2024-06-23 10:55:47 +0200
commit6f876b50721ad1f6e5875813bdab6616afcff3e9 (patch)
treef98a8c29cc300cd4397ddedb4b756c492fd26f3c
parentfeat: enable configuration for date and time separately (diff)
downloadsl0pstatus-6f876b50721ad1f6e5875813bdab6616afcff3e9.tar.gz
sl0pstatus-6f876b50721ad1f6e5875813bdab6616afcff3e9.tar.xz
sl0pstatus-6f876b50721ad1f6e5875813bdab6616afcff3e9.zip
chore: move to cargo-nextest as test runner
-rw-r--r--.cargo/config.toml3
-rw-r--r--flake.nix1
-rw-r--r--justfile2
3 files changed, 5 insertions, 1 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 6b77899..75cf48e 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,2 +1,5 @@
[build]
target = "wasm32-wasi"
+
+[target.wasm32-wasi]
+runner = "wasmtime"
diff --git a/flake.nix b/flake.nix
index 61efd02..01f81d0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -75,6 +75,7 @@
cargo-audit
cargo-component
cargo-edit
+ cargo-nextest
cargo-watch
clippy
libiconv
diff --git a/justfile b/justfile
index 1d186a5..0104a31 100644
--- a/justfile
+++ b/justfile
@@ -12,7 +12,7 @@ run: build
zellij -l ./plugin-dev-workspace.kdl -s zjstatus-dev
test:
- cargo wasi test -- --nocapture
+ cargo watch -x "nextest run --lib"
lint:
cargo clippy --all-targets --all-features