Files
sandcage/justfile
T
2026-05-22 15:30:15 +02:00

45 lines
936 B
Makefile

# Justfile for Sandcage
#
# Environment variables are loaded from `.env` automatically.
set shell := ["sh", "-cu"]
set windows-shell := ["sh", "-cu"]
set dotenv-load := true
export PYTHONIOENCODING := "utf-8"
# Default: list available recipes.
default:
@just --list
# Run cargo check.
check:
cargo check
# Run cargo build.
build:
cargo build
# Run unit tests (fast, no Docker required).
test:
cargo test --workspace --exclude sandcage-test
# Run functional tests (requires Docker).
test-functional:
cargo test -p sandcage-test -- --test-threads=1
# Run all tests.
test-all:
cargo test --workspace
# Run Claude Code.
claude:
claude --allow-dangerously-skip-permissions
# Export to public repo (force-with-lease push to main).
export *FLAGS:
uv run python scripts/export.py push {{FLAGS}}
# Dry-run export (inspect without pushing).
export-dry:
uv run python scripts/export.py push --dry-run