mirror of
https://github.com/Xevion/Pac-Man.git
synced 2026-01-31 06:25:09 -06:00
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
40 lines
641 B
Makefile
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
|