diff options
author | Nat Lasseter <user@4574.co.uk> | 2019-10-21 23:44:32 +0100 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2019-10-21 23:44:32 +0100 |
commit | 5534d4e4054f03ac74ff1ab0bd9811aebd5a9aea (patch) | |
tree | 9e6ba3c4edb365f7aaf4d20d407f45f2f801442a /day11/entrypoint | |
parent | 400c7a256d3f3d41b84889c4c34ea90afb51f730 (diff) |
Day11, part1 only
Diffstat (limited to 'day11/entrypoint')
-rwxr-xr-x | day11/entrypoint | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/day11/entrypoint b/day11/entrypoint new file mode 100755 index 0000000..8982d21 --- /dev/null +++ b/day11/entrypoint @@ -0,0 +1,13 @@ +#!/bin/bash + +if [ -x part1 ] ; then + echo -ne "Part 1:\n\t" + time ./part1 < input +fi +if [ -x part1 -a -x part2 ] ; then + echo +fi +if [ -x part2 ] ; then + echo -ne "Part 2:\n\t" + time ./part2 < input +fi |