From d84f563d5becae44625eceef9218bf5217c36d43 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 16 Mar 2020 12:21:14 +0100 Subject: [PATCH] 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 --- Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile b/Makefile index a7a177f1..963c5072 100644 --- a/Makefile +++ b/Makefile @@ -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