Initial justfile

This commit is contained in:
Drew 2025-08-22 19:00:25 -07:00
parent 1e02b39199
commit c2b7c12905
2 changed files with 23 additions and 1 deletions

22
justfile Normal file
View file

@ -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

View file

@ -61,7 +61,7 @@ captains-log/
- **Expected outcome**: `cargo run` starts server responding to GET /health - **Expected outcome**: `cargo run` starts server responding to GET /health
### Task 1.3: Create Development Justfile ### Task 1.3: Create Development Justfile
- [ ] **File**: `justfile` - [x] **File**: `justfile`
- Initial commands: 'dev', 'build', 'test-unit', 'fmt', 'lint', 'clean' - Initial commands: 'dev', 'build', 'test-unit', 'fmt', 'lint', 'clean'
- As Needed: `test-api`, `test-coverage` - As Needed: `test-api`, `test-coverage`
- **Expected outcome**: `just --list` shows all commands - **Expected outcome**: `just --list` shows all commands