feat: add many things

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2026-03-08 23:00:03 +01:00
parent 45353089c2
commit 5a5f9a3003
104 changed files with 23417 additions and 2027 deletions

View File

@@ -1,11 +1,15 @@
[tools]
rust = "latest"
[env]
_.file = ".env"
# ─── Core Development ──────────────────────────────────────────────
[tasks.develop]
alias = ["d", "dev"]
description = "Start the forage development server"
depends = ["tailwind:build"]
run = "cargo run -p forage-server"
[tasks.build]
@@ -97,6 +101,8 @@ run = "cargo sqlx prepare --workspace"
[tasks."tailwind:build"]
description = "Build tailwind CSS"
sources = ["templates/**/*.jinja", "static/css/input.css", "static/js/**/*.js"]
outputs = ["static/css/style.css"]
run = "npx @tailwindcss/cli -i static/css/input.css -o static/css/style.css --minify"
[tasks."tailwind:watch"]