Files
rota/justfile

31 lines
556 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 --release
test-integration:
cd {{tauri_path}} && cargo test --test integration --release
test-all:
cd {{tauri_path}} && cargo test --release -- --nocapture
# profile:
# cd {{tauri_path}} && cargo flamegraph
clean:
rm -rf node_modules
cd {{tauri_path}} && cargo clean