Skip to content
[env]
RESET_DB = "true"
PORT = "8090"
CACHE_CONTROL = "no-cache"
PIN = "123456"

[tools]
rust = { version = "1.97" }
"cargo-binstall" = "latest"
"cargo:cargo-nextest" = "latest"
"cargo:cargo-watch" = "latest"
watchexec = "2.7.0"

[tasks.run]
run = 'cargo run'

[tasks.verify]
run = ['cargo fmt --check', 'cargo clippy --workspace --all-targets', 'cargo nextest run --workspace']

[tasks.test]
run = 'cargo nextest run --workspace'

[tasks.fmt]
run = ['cargo fmt', 'cargo clippy --fix --workspace --all-targets --allow-dirty']




[tasks.watch]
run = 'watchexec --exts rs,css,js -r cargo run'

[tasks.desktop]
description = 'Build Notify Tauri desktop app'
run = 'cargo build -p notify-desktop'

[tasks.docker]
run = ['docker run -p 8080:80 silenloc/fig']