From 10ee2acdd26a7f1298c6f6d6b7af9b469fe29b87 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:41:41 +0200 Subject: Merging upstream version 1.70.0+dfsg2. Signed-off-by: Daniel Baumann --- vendor/similar/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 vendor/similar/Makefile (limited to 'vendor/similar/Makefile') diff --git a/vendor/similar/Makefile b/vendor/similar/Makefile new file mode 100644 index 000000000..af6e83179 --- /dev/null +++ b/vendor/similar/Makefile @@ -0,0 +1,27 @@ +all: test + +build: + @cargo build --all-features + +doc: + @cargo doc --all-features + +test: + @cargo test + @cargo test --all-features + @cargo test --no-default-features + @cargo test --no-default-features --features bytes + +format: + @rustup component add rustfmt 2> /dev/null + @cargo fmt --all + +format-check: + @rustup component add rustfmt 2> /dev/null + @cargo fmt --all -- --check + +lint: + @rustup component add clippy 2> /dev/null + @cargo clippy + +.PHONY: all doc test format format-check lint -- cgit v1.2.3