aboutsummaryrefslogtreecommitdiff
path: root/day18/entrypoint
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2019-10-28 22:59:09 +0000
committerNat Lasseter <user@4574.co.uk>2019-10-28 22:59:09 +0000
commit6935393e9c9841f7ae418b235b5c9e0f22418116 (patch)
tree66e0da86eef57543dd5cfce055df307e11b0b065 /day18/entrypoint
parentedd845305348a4ea573619068f64e75b11cdeeff (diff)
day 18, part2. part2 is just another uninteresting now do it an impossible number of times type puzzleHEADmaster
Diffstat (limited to 'day18/entrypoint')
-rwxr-xr-xday18/entrypoint13
1 files changed, 13 insertions, 0 deletions
diff --git a/day18/entrypoint b/day18/entrypoint
new file mode 100755
index 0000000..8982d21
--- /dev/null
+++ b/day18/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