From 908f114e543d8a895f37a87119ac066906705e2d Mon Sep 17 00:00:00 2001 From: stefiosif Date: Sat, 17 Jan 2026 11:38:22 +0200 Subject: [PATCH] Add justfile --- justfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..34b35c6 --- /dev/null +++ b/justfile @@ -0,0 +1,24 @@ +build: + pnpm tauri build + +dev: + pnpm tauri dev + +tauri_path := "src-tauri" + +fmt: + pnpm prettier --write "**/*.svelte" "**/*.ts" + cd {{tauri_path}} && cargo fmt + +lint: + cd {{tauri_path}} && cargo clippy + +test: + cd {{tauri_path}} && cargo test --release -- --nocapture + +# profile: +# cd {{tauri_path}} && cargo flamegraph + +clean: + rm -rf node_modules + cd {{tauri_path}} && cargo clean