From 86b55773853a3884e405e9bd9d4007f32d06e1ef Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 8 Dec 2022 00:17:54 +0100 Subject: [PATCH] add spacing --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0146386..40189dc 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,8 @@ OUTPUT = output TESTS = $(wildcard $(TESTS_DIR)/*.test) +INDENT = 21 + main: ocamlbuild -use-menhir -no-hygiene $(MAIN).byte @@ -12,10 +14,10 @@ test: $(TESTS) @for f in $(TESTS); do \ ./$(MAIN).byte $$f 1> /dev/null 2> $(OUTPUT); \ if [ -s $(OUTPUT) ]; then \ - printf "%s : ❌ => " $$f; \ + printf "%$(INDENT)s : ❌ => " $$f; \ cat $(OUTPUT); \ else \ - printf "%s : 🎉\n" $$f; \ + printf "%$(INDENT)s : 🎉\n" $$f; \ fi; \ done; \ rm $(OUTPUT)