From b944050935deebe0ce58d7d1ad8ce8367a592bb5 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Fri, 20 Dec 2019 23:28:06 +0100 Subject: [PATCH] feat: add make fmt task --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 485b630..4c1e3a2 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,11 @@ test: @cargo test .PHONY: test +fmt: + @cargo fix --edition + @cargo fmt --all +.PHONY: fmt + docker.image.alpine: @docker build \ --rm=true -f ./docker/alpine/Dockerfile \ -- libgit2 1.7.2