20 lines
516 B
TOML
20 lines
516 B
TOML
|
|
[tools]
|
||
|
|
jujutsu = "latest"
|
||
|
|
rust = { version = "1.88.0", components = "rust-analyzer,clippy" }
|
||
|
|
watchexec = "latest"
|
||
|
|
|
||
|
|
[tasks.postgres]
|
||
|
|
run = "docker run --rm -it -e POSTGRES_PASSWORD=guest -v './pgdata:/var/lib/postgresql/data' -p 127.0.0.1:5432:5432 postgres:17"
|
||
|
|
|
||
|
|
[tasks.server]
|
||
|
|
run = "cargo run serve"
|
||
|
|
sources = ["./**/src/**/*.rs", "./**/Cargo.toml", "./**/templates/**/*.html", "./components/src/**/*.tsx?"]
|
||
|
|
|
||
|
|
[tasks.vite]
|
||
|
|
run = "deno task build"
|
||
|
|
dir = "./components"
|
||
|
|
|
||
|
|
[env]
|
||
|
|
RUST_LOG = "debug"
|
||
|
|
RUST_BACKTRACE = "1"
|