buildsys: drop format check in check target

rename 'checkfmt' target to 'fmt'
there's no "apply formatting" target anymore now, this has
to be done manually to not do this by accident

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-03-16 12:21:14 +01:00
parent c5c82abc7d
commit d84f563d5b

View File

@ -23,7 +23,6 @@ dinstall:
.PHONY: check
check:
cargo +nightly fmt -- --check
cargo test
# Run the api-test server, serving the api-test/www/ subdir as 'www' dir over
@ -34,13 +33,8 @@ apitest:
# Prints a diff between the current code and the one rustfmt would produce
.PHONY: fmt
checkfmt:
cargo fmt --all -- --check
# Reformat the code (ppply the output of `make checkfmt`)
.PHONY: fmt
fmt:
cargo fmt --all
cargo +nightly fmt -- --check
# Doc without dependencies
.PHONY: doc