time: [73.407 µs 76.145 µs 79.345 µs] change: [−40.126% −24.679% −3.8062%] (p = 0.04 < 0.05)
34 lines
601 B
Makefile
34 lines
601 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
|
|
|
|
bench:
|
|
cd {{tauri_path}} && cargo bench
|
|
|
|
# profile:
|
|
# cd {{tauri_path}} && cargo flamegraph
|
|
|
|
clean:
|
|
rm -rf node_modules
|
|
cd {{tauri_path}} && cargo clean
|