Files
rota/justfile

34 lines
618 B
Makefile

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 --lib -- --test-threads=1
test-integration:
cd {{tauri_path}} && cargo test --test integration -- --test-threads=1 --nocapture
test-all:
cd {{tauri_path}} && cargo test --release
bench:
cd {{tauri_path}} && cargo bench
# profile:
# cd {{tauri_path}} && cargo flamegraph
clean:
rm -rf node_modules
cd {{tauri_path}} && cargo clean