Initial justfile
This commit is contained in:
parent
1e02b39199
commit
c2b7c12905
2 changed files with 23 additions and 1 deletions
22
justfile
Normal file
22
justfile
Normal 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
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue