From af0d261812b5cfbbddfff6a84df9379a802fedc2 Mon Sep 17 00:00:00 2001 From: aggstam Date: Thu, 29 Jun 2023 15:05:14 +0300 Subject: [PATCH] Makefile: fmt target added --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index faf51a3b5..91ceb73ef 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,9 @@ check: contracts $(PROOFS_BIN) fix: contracts $(PROOFS_BIN) $(CARGO) clippy --release --all-features --fix --allow-dirty --all +fmt: + $(CARGO) fmt + clippy: contracts $(PROOFS_BIN) $(CARGO) clippy --release --all-features --all @@ -98,5 +101,5 @@ uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/$$i; \ done; -.PHONY: all check fix clippy test test-no-run cleanbin clean \ +.PHONY: all check fix fmt clippy test test-no-run cleanbin clean \ install uninstall contracts coverage