diff options
author | Nat Lasseter <user@4574.co.uk> | 2019-12-08 07:45:56 +0000 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2019-12-08 07:45:56 +0000 |
commit | 57a5e0d8b99df7bc14e685e5d8c4495cc7eed5f3 (patch) | |
tree | 1c0e8b027399ce00805e2af45698d5064c51ca96 /day08/entrypoint | |
parent | ca0ef4147392dc1260ec0d1f513bb24f568dcf1c (diff) |
Day 08
Diffstat (limited to 'day08/entrypoint')
-rwxr-xr-x | day08/entrypoint | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/day08/entrypoint b/day08/entrypoint new file mode 100755 index 0000000..8982d21 --- /dev/null +++ b/day08/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 |