From 1bc5dc11dcd9d2ad1ab68cb64f7de54a90c2cb97 Mon Sep 17 00:00:00 2001 From: sandcage-export Date: Thu, 21 May 2026 23:21:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=87=20export=20from=20upstream=20(2732?= =?UTF-8?q?d02)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- justfile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..6cadef7 --- /dev/null +++ b/justfile @@ -0,0 +1,36 @@ +# 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 tests. +test: + cargo test + +# 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