Debian Codegraph @

third_party/rust/debugid/Makefile

raw
1 all: style lint test
2 .PHONY: all
3
4 check: style lint
5 .PHONY: check
6
7 build:
8 @cargo build
9 .PHONY: build
10
11 doc:
12 @cargo doc
13 .PHONY: doc
14
15 test:
16 @cargo test
17 .PHONY: test
18
19 style:
20 @rustup component add rustfmt --toolchain stable 2> /dev/null
21 cargo +stable fmt -- --check
22 .PHONY: style
23
24 format:
25 @rustup component add rustfmt --toolchain stable 2> /dev/null
26 @cargo +stable fmt
27 .PHONY: format
28
29 lint:
30 @rustup component add clippy --toolchain stable 2> /dev/null
31 @cargo +stable clippy --tests -- -D clippy::all
32 .PHONY: lint