-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 679 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (20 loc) · 679 Bytes
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
install-rust-tooling:
rustup component add rustfmt
rustup component add clippy
build:
cargo build --locked --release
build-dev:
cargo build --locked
run-dev: build-dev
valkey-server --save "" --loadmodule target/debug/libvalkey_array.so
lint:
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --all-features -- -D clippy::all -D warnings
fix:
cargo fmt --all
cargo clippy --workspace --all-targets --all-features --fix --allow-dirty --allow-staged -- -D clippy::all -D warnings
docs:
cargo doc --no-deps
test: build-dev # Running `build-dev` before ensures the integration tests can load the newest module
cargo test
full-monty: fix test docs