aboutsummaryrefslogtreecommitdiff
path: root/day02/entrypoint
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2018-12-02 12:41:05 +0000
committerNat Lasseter <user@4574.co.uk>2018-12-02 12:41:05 +0000
commit43ab0a3a7a1e095f5f33f224ce73c413f49e156c (patch)
tree1d4bfdb3385562511231f4389e29ca2279a916b1 /day02/entrypoint
Initial commit
Diffstat (limited to 'day02/entrypoint')
-rwxr-xr-xday02/entrypoint10
1 files changed, 10 insertions, 0 deletions
diff --git a/day02/entrypoint b/day02/entrypoint
new file mode 100755
index 0000000..cff9f4c
--- /dev/null
+++ b/day02/entrypoint
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+if [ -x part1 ] ; then
+ echo -ne "Part 1:\n\t"
+ ./part1 < input
+fi
+if [ -x part2 ] ; then
+ echo -ne "Part 2:\n\t"
+ ./part2 < input
+fi