summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick Gerace <nickagerace@gmail.com>2020-08-24 19:41:22 -0400
committerNick Gerace <39320683+nickgerace@users.noreply.github.com>2020-08-24 19:54:59 -0400
commit6725cd982f8fa3533b8ad1442795eed5c13493f9 (patch)
treefa1e8dbbf757378cb02139f831d5fbdfff6b0f1c /Makefile
parente310a4544f18b0b77039b67ab7c726ea18192d52 (diff)
downloadgfold-6725cd982f8fa3533b8ad1442795eed5c13493f9.zip
Use match guards to print bare repository status to STDOUT
When a repository object returns a BareRepo ErrorCode for its statuses, we now use the Option type to help print the result to STDOUT. This changes the previous behavior, which was to just "continue" the loop.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 20b1560..6085916 100644
--- a/Makefile
+++ b/Makefile
@@ -16,4 +16,4 @@ tree:
static:
docker pull clux/muslrust
- cd $(MAKEPATH); docker run -v $(MAKEPATH):/volume --rm -t clux/muslrust cargo build
+ cd $(MAKEPATH); docker run -v $(MAKEPATH):/volume --rm -t clux/muslrust cargo build --release