From d5441613992a45b0fe0a6c8e85b4af9172f6a3ed Mon Sep 17 00:00:00 2001 From: Nick Gerace <39320683+nickgerace@users.noreply.github.com> Date: Mon, 24 Aug 2020 01:59:22 -0400 Subject: Skip bare repositories during status fetching (#13) Add error handling for bare repositories. This is a fix to GitHub issue 11. During status fetching for a given repository object, we will "continue" to the next repository object if the current object is bare. --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d831ecf..20b1560 100644 --- a/Makefile +++ b/Makefile @@ -7,9 +7,13 @@ MAKEPATH:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) NAME:=gfold -cargo-tree: +run: + @cd $(MAKEPATH); cargo fmt + @cd $(MAKEPATH); cargo run -- -p .. + +tree: cd $(MAKEPATH); cargo tree -build-static: +static: docker pull clux/muslrust cd $(MAKEPATH); docker run -v $(MAKEPATH):/volume --rm -t clux/muslrust cargo build -- cgit v1.2.3