Add just check command.
This commit is contained in:
parent
c443a13a14
commit
66e0a1d3f3
2 changed files with 6 additions and 31 deletions
35
CLAUDE.md
35
CLAUDE.md
|
|
@ -74,38 +74,11 @@ tasks (id, title, description, status, created_at, updated_at, completed_at)
|
||||||
|
|
||||||
## Development Commands
|
## Development Commands
|
||||||
|
|
||||||
### Testing
|
**Primary command**: Use `just` for all development tasks. Run `just --list` to see all available commands.
|
||||||
```bash
|
|
||||||
# Backend tests
|
|
||||||
just test-unit # Unit tests (cargo test)
|
|
||||||
just test-coverage # Coverage report (tarpaulin HTML)
|
|
||||||
just test-integration # API tests (Hurl)
|
|
||||||
|
|
||||||
# Individual commands
|
**Key commands**:
|
||||||
cargo test # Direct unit test execution
|
- `just check` - Validate all changes (primary validation command)
|
||||||
hurl --test tests/api/*.hurl # Direct API test execution
|
- `just fmt` - Format code (resolve formatting errors)
|
||||||
|
|
||||||
# Frontend tests (when implemented)
|
|
||||||
npm test # Unit tests
|
|
||||||
npm run test:e2e # End-to-end tests
|
|
||||||
npm run test:coverage # Coverage report
|
|
||||||
```
|
|
||||||
|
|
||||||
### Development Server
|
|
||||||
```bash
|
|
||||||
# Backend (Rust server)
|
|
||||||
just dev # Run backend server (cargo run)
|
|
||||||
|
|
||||||
# Other backend commands
|
|
||||||
just build # Build project
|
|
||||||
just migrate # Run database migrations
|
|
||||||
just reset-db # Reset database
|
|
||||||
just fmt # Format code
|
|
||||||
just lint # Run clippy
|
|
||||||
|
|
||||||
# Frontend (when implemented)
|
|
||||||
npm run dev # Vite dev server
|
|
||||||
```
|
|
||||||
|
|
||||||
## Current Phase: Core MVP Backend ✅
|
## Current Phase: Core MVP Backend ✅
|
||||||
|
|
||||||
|
|
|
||||||
2
justfile
2
justfile
|
|
@ -25,5 +25,7 @@ fmt-check: fmt-check-backend fmt-check-frontend
|
||||||
|
|
||||||
lint: lint-backend lint-frontend
|
lint: lint-backend lint-frontend
|
||||||
|
|
||||||
|
check: fmt-check lint test
|
||||||
|
|
||||||
clean: clean-backend clean-frontend
|
clean: clean-backend clean-frontend
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue