diff --git a/justfile b/justfile new file mode 100644 index 0000000..d4976f1 --- /dev/null +++ b/justfile @@ -0,0 +1,22 @@ +# Temporary until we have a frontend. +set working-directory := 'backend' + +dev: + cargo run + +build: + cargo build + +test-unit: + cargo test + +fmt: + cargo fmt --check + +lint: + cargo clippy + +clean: + cargo clean + + diff --git a/plan/01_CORE_MVP/backend.md b/plan/01_CORE_MVP/backend.md index 80a5a1f..9ab5ca9 100644 --- a/plan/01_CORE_MVP/backend.md +++ b/plan/01_CORE_MVP/backend.md @@ -61,7 +61,7 @@ captains-log/ - **Expected outcome**: `cargo run` starts server responding to GET /health ### Task 1.3: Create Development Justfile -- [ ] **File**: `justfile` +- [x] **File**: `justfile` - Initial commands: 'dev', 'build', 'test-unit', 'fmt', 'lint', 'clean' - As Needed: `test-api`, `test-coverage` - **Expected outcome**: `just --list` shows all commands