-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (15 loc) · 897 Bytes
/
Makefile
File metadata and controls
19 lines (15 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
fmt:
cargo +nightly fmt -- --unstable-features --config imports_granularity=One --config group_imports=One
cd sea-orm-migration-spanner && cargo +nightly fmt -- --unstable-features --config imports_granularity=One --config group_imports=One
fmt-check:
cargo +nightly fmt --check -- --unstable-features --config imports_granularity=One --config group_imports=One
cd sea-orm-migration-spanner && cargo +nightly fmt --check -- --unstable-features --config imports_granularity=One --config group_imports=One
lint:
cargo clippy --all-targets --all-features -- -D warnings
cd sea-orm-migration-spanner && cargo clippy --all-targets --all-features -- -D warnings
check:
cargo check
cd sea-orm-migration-spanner && cargo check
test:
SPANNER_EMULATOR_HOST=localhost:9010 cargo test --all-features
cd sea-orm-migration-spanner && SPANNER_EMULATOR_HOST=localhost:9010 cargo test --all-features