1
0
Fork 0
firefox/third_party/rust/debugid/Makefile
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

32 lines
518 B
Makefile

all: style lint test
.PHONY: all
check: style lint
.PHONY: check
build:
@cargo build
.PHONY: build
doc:
@cargo doc
.PHONY: doc
test:
@cargo test
.PHONY: test
style:
@rustup component add rustfmt --toolchain stable 2> /dev/null
cargo +stable fmt -- --check
.PHONY: style
format:
@rustup component add rustfmt --toolchain stable 2> /dev/null
@cargo +stable fmt
.PHONY: format
lint:
@rustup component add clippy --toolchain stable 2> /dev/null
@cargo +stable clippy --tests -- -D clippy::all
.PHONY: lint