aboutsummaryrefslogtreecommitdiff
path: root/day16/entrypoint
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2019-12-19 17:00:18 +0000
committerNat Lasseter <user@4574.co.uk>2019-12-19 17:00:18 +0000
commite13f5c8cf9a0c6d1540de00fd128337c5ba02bea (patch)
tree02becb401ee47dfb1b5f5a099a587a9db9ae37d2 /day16/entrypoint
parent2bb84ae6c6c71d51b445bf0b232c0eb6ca38e89b (diff)
Day16, part2 untested, runs forever
Diffstat (limited to 'day16/entrypoint')
-rwxr-xr-xday16/entrypoint13
1 files changed, 13 insertions, 0 deletions
diff --git a/day16/entrypoint b/day16/entrypoint
new file mode 100755
index 0000000..8982d21
--- /dev/null
+++ b/day16/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