]> git.proxmox.com Git - rustc.git/blob - vendor/insta/Makefile
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / vendor / insta / Makefile
1 all: test
2
3 build:
4 @cargo build --all-features
5
6 doc:
7 @cargo doc --all-features
8
9 test: cargotest
10
11 cargotest:
12 @rustup component add rustfmt 2> /dev/null
13 @cargo test
14 @cargo test --all-features
15 @cargo test --no-default-features
16 @cargo test --features redactions,backtrace -- --test-threads 1
17 @cd cargo-insta; cargo test
18
19 format:
20 @rustup component add rustfmt 2> /dev/null
21 @cargo fmt --all
22
23 format-check:
24 @rustup component add rustfmt 2> /dev/null
25 @cargo fmt --all -- --check
26
27 lint:
28 @rustup component add clippy 2> /dev/null
29 @cargo clippy
30
31 update-readme:
32 @cargo readme > README.md
33 @cd cargo-insta; cargo readme > README.md
34
35 .PHONY: all doc test cargotest format format-check lint update-readme