d3fc479b68
* I little bit improve docs * README * disable tests for docs
20 lines
592 B
Makefile
20 lines
592 B
Makefile
db:
|
|
docker run --rm -d --name postgres -p 5432:5432 \
|
|
-e POSTGRES_DB=fang \
|
|
-e POSTGRES_USER=postgres \
|
|
-e POSTGRES_PASSWORD=postgres \
|
|
postgres:latest
|
|
clippy:
|
|
cargo clippy --all-features
|
|
diesel:
|
|
DATABASE_URL=postgres://postgres:postgres@localhost/fang diesel migration run
|
|
stop:
|
|
docker kill postgres
|
|
tests:
|
|
DATABASE_URL=postgres://postgres:postgres@localhost/fang cargo test --all-features -- --color always --nocapture
|
|
|
|
ignored:
|
|
DATABASE_URL=postgres://postgres:postgres@localhost/fang cargo test --all-features -- --color always --nocapture --ignored
|
|
|
|
doc:
|
|
cargo doc --open
|