From c547a9ef78c9714cb0ec66d5b985141b64993d80 Mon Sep 17 00:00:00 2001 From: Chris <100840345+0xf333@users.noreply.github.com> Date: Fri, 3 May 2024 05:36:07 -0400 Subject: [PATCH] chore: added code formating target (#8) Makefile: added code formating target Co-authored-by: Cyrill Leutwiler --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 18ef93a..05cc11a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: install test test-solidity test-cli test-integration clean +.PHONY: install format test test-solidity test-cli test-integration clean install: install-bin install-npm @@ -8,7 +8,10 @@ install-bin: install-npm: npm install && npm fund -test: install test-integration test-cli test-solidity +format: + cargo fmt --all --check + +test: format install test-integration test-cli test-solidity test-integration: install-bin cargo test --package revive-integration