Skip to content

Commit

Permalink
chore: add tauri check and fmt to tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
sehnryr committed Nov 11, 2024
1 parent 5598eac commit 1c772c0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
"tasks": {
"dev": "deno run -A npm:vite dev",
"build": "deno run -A npm:vite build",
"check": "deno check src/",
"lint": "deno lint && deno fmt --check",
"fmt": "deno lint --fix && deno fmt"
"check": "deno check src/ && deno task check:tauri",
"check:tauri": "cd src-tauri/ && cargo check && cd ..",
"lint": "deno lint && deno fmt --check && deno task lint:tauri",
"lint:tauri": "cd src-tauri/ && cargo fmt --check && cd ..",
"fmt": "deno lint --fix && deno fmt && deno task fmt:tauri",
"fmt:tauri": "cd src-tauri/ && cargo fmt && cd .."
},
"compilerOptions": {
"jsx": "react-jsx",
Expand Down

0 comments on commit 1c772c0

Please sign in to comment.