forked from cnosdb/cnosdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (24 loc) · 770 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
34
35
docs_check:
cargo doc --no-deps --document-private-items --all-features
docs:
cargo doc --no-deps --document-private-items --all-features --open
fmt_check:
cargo +nightly fmt --all -- --check
fmt:
cargo +nightly fmt --all
clippy_check:
cargo clippy --workspace --all-targets -- -D warnings
clippy:
cargo clippy --workspace --all-targets --fix
build:
cargo build --all-features --all-targets --package main
cargo build --all-features --all-targets --package meta
cargo build --all-features --all-targets --package client
test:
cargo test --workspace --exclude e2e_test
check: fmt_check clippy_check build test docs_check
clean:
cargo clean
run:
cargo run -- run
.PHONY: docs check fmt fmt_check clippy clippy_check build test docs_check clean run