2025-07-08 15:17:21 -07:00
|
|
|
[tools]
|
2025-07-08 16:54:51 -07:00
|
|
|
deno = "latest"
|
2025-07-16 22:03:04 -07:00
|
|
|
erlang = "latest"
|
|
|
|
|
gleam = "latest"
|
2025-07-08 15:17:21 -07:00
|
|
|
jujutsu = "latest"
|
2025-07-16 22:03:04 -07:00
|
|
|
rebar = "latest"
|
2025-07-08 15:17:21 -07:00
|
|
|
rust = { version = "1.88.0", components = "rust-analyzer,clippy" }
|
|
|
|
|
watchexec = "latest"
|
2025-07-16 22:03:04 -07:00
|
|
|
"github:sass/dart-sass" = "1.89.2"
|
2025-07-08 15:17:21 -07:00
|
|
|
|
|
|
|
|
[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"
|
2025-07-08 16:54:51 -07:00
|
|
|
description = "Run the server. For development: `mise watch --restart serve`."
|
|
|
|
|
sources = ["**/*.rs", "**/*.html"]
|
2025-07-08 15:17:21 -07:00
|
|
|
|
2025-07-22 00:21:54 -07:00
|
|
|
[tasks.build-js]
|
|
|
|
|
run = "sh build.sh"
|
|
|
|
|
dir = "./webc"
|
|
|
|
|
sources = ["webc/src/**/*.gleam", "webc/src/**/*.mjs"]
|
2025-07-08 15:17:21 -07:00
|
|
|
|
2025-07-22 00:21:54 -07:00
|
|
|
[tasks.build-css]
|
2025-07-16 22:03:04 -07:00
|
|
|
run = "sass sass/:css_dist/"
|
|
|
|
|
sources = ["sass/**/*.scss"]
|
|
|
|
|
|
2025-07-08 15:17:21 -07:00
|
|
|
[env]
|
|
|
|
|
RUST_LOG = "debug"
|
|
|
|
|
RUST_BACKTRACE = "1"
|