mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 02:26:38 -06:00
- Axum-based API server with Unix socket and TCP support - Custom tracing formatters for Railway-compatible JSON logs - SvelteKit hooks and Vite plugin for unified logging - Justfile updated for concurrent dev workflow with hl log viewer
24 lines
617 B
Makefile
24 lines
617 B
Makefile
default:
|
|
just --list
|
|
|
|
dev:
|
|
just dev-json | hl --config .hl.config.toml -P
|
|
|
|
dev-json:
|
|
LOG_JSON=true UPSTREAM_URL=/tmp/xevion-api.sock bunx concurrently --raw --prefix none "bun run --silent --cwd web dev --port 5173" "cargo watch --quiet --exec 'run --quiet -- --listen localhost:8080 --listen /tmp/xevion-api.sock --downstream http://localhost:5173'"
|
|
|
|
setup:
|
|
bun install --cwd web
|
|
cargo build
|
|
|
|
build:
|
|
bun run --cwd web build
|
|
cargo build --release
|
|
|
|
check:
|
|
bun run --cwd web format
|
|
bun run --cwd web lint
|
|
bun run --cwd web check
|
|
cargo clippy --all-targets
|
|
cargo fmt --check
|