-
Notifications
You must be signed in to change notification settings - Fork 14
/
makefile
33 lines (28 loc) · 985 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.PHONY: dynamo
dynamo:
- docker rm -f dynamodb
- docker stop dynamodb
docker run --rm -d --name dynamodb -p 8000:8000 amazon/dynamodb-local:latest
deno run --allow-net=localhost:8000 --allow-env --no-check ./setup/setup.ts
.PHONY: test
test:
make dynamo
cargo test -- --test-threads=1
.PHONY: lint
lint:
cargo clippy --all-targets -- -D warnings
cargo clippy --all-targets --no-default-features --features rustls -- -D warnings
cargo clippy --all-targets --features tracing -- -D warnings
.PHONY: check-deps
check-deps:
cargo machete || echo
cargo +nightly udeps --all-targets
cargo +nightly udeps --all-targets --no-default-features --features rustls
cargo +nightly udeps --all-targets --features tracing
.PHONY: licenses
licenses:
cargo bundle-licenses --format toml --output THIRDPARTY.toml
.PHONY: check-licenses
check-licenses:
RUST_LOG=error cargo bundle-licenses --format toml --output __CHECK --previous THIRDPARTY.toml --check-previous
rm __CHECK || true