diff options
author | Nat Lasseter <user@4574.co.uk> | 2018-12-07 11:25:40 +0000 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2018-12-07 11:25:40 +0000 |
commit | b4c9a987745cb784ad75373029a77d4ab6429c19 (patch) | |
tree | 7fa4af026f092948f13721e6547a68dd0bb32f2c /day07/entrypoint | |
parent | 0601ee07997c1fc76e912ec060bc7ae82ecfcae1 (diff) |
[day07] Done
Diffstat (limited to 'day07/entrypoint')
-rwxr-xr-x | day07/entrypoint | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/day07/entrypoint b/day07/entrypoint new file mode 100755 index 0000000..8982d21 --- /dev/null +++ b/day07/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 |