Files
Pac-Man/Justfile
Xevion 884f42a855 feat(server): make database and OAuth providers optional configuration
All external services (database, Discord/GitHub OAuth, S3) can now be individually disabled by omitting their environment variables. The server gracefully degrades functionality when services are unavailable. Partial configuration of any service group triggers a clear error at startup.

- Database: Falls back to dummy pool when DATABASE_URL is unset
- OAuth: Providers only registered when credentials are complete
- S3: Image storage disabled when credentials are missing
- Health checks reflect actual configuration state
2025-12-30 04:03:48 -06:00

40 lines
641 B
Makefile

set shell := ["bash", "-c"]
mod pacman 'pacman/Justfile'
mod server 'pacman-server/Justfile'
mod web 'web/Justfile'
# Display available recipes
default:
@just --list --list-submodules
# Run the game (pacman::run)
run *args:
@just pacman::run {{args}}
# Run all checks (pacman::check)
check:
@just pacman::check
alias lint := check
# Run tests (pacman::test)
test:
@just pacman::test
# Format code (pacman::format)
format:
@just pacman::format
alias fmt := format
# Frontend dev server (web::dev)
dev:
@just web::dev
# Build and preview frontend (web::up)
up:
@just web::up
alias vcpkg := pacman::vcpkg