Files
spacedrive/justfile
T
2026-03-24 14:23:55 -07:00

44 lines
837 B
Makefile

# Spacedrive development commands
# Install JS dependencies and set up native deps + cargo config
setup:
bun install
cargo xtask setup
# Run the daemon (default dev workflow: just dev-daemon + just dev-desktop)
dev-daemon *ARGS:
cargo run --bin sd-daemon {{ARGS}}
# Run the desktop app in dev mode
dev-desktop:
cd apps/tauri && bun run tauri:dev
# Run the headless server (web UI, no desktop app)
dev-server *ARGS:
cargo run --bin sd-server {{ARGS}}
# Run all workspace tests
test:
cargo test --workspace
# Build everything (default members)
build:
cargo build
# Build in release mode
build-release:
cargo build --release
# Format and lint
check:
cargo fmt --check
cargo clippy --workspace
# Format code
fmt:
cargo fmt
# Run the CLI
cli *ARGS:
cargo run --bin sd-cli -- {{ARGS}}