From aa001e10900e62eca5b454a63932bd5725ffe0cd Mon Sep 17 00:00:00 2001 From: Nat Lasseter Date: Sun, 2 Dec 2018 20:55:15 +0000 Subject: Makefile clean and entrypoint prettyness --- day01/entrypoint | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'day01/entrypoint') diff --git a/day01/entrypoint b/day01/entrypoint index cff9f4c..8982d21 100755 --- a/day01/entrypoint +++ b/day01/entrypoint @@ -2,9 +2,12 @@ if [ -x part1 ] ; then echo -ne "Part 1:\n\t" - ./part1 < input + time ./part1 < input +fi +if [ -x part1 -a -x part2 ] ; then + echo fi if [ -x part2 ] ; then echo -ne "Part 2:\n\t" - ./part2 < input + time ./part2 < input fi -- cgit v1.2.1