aboutsummaryrefslogtreecommitdiff
path: root/day08/Makefile
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2018-12-08 17:36:38 +0000
committerNat Lasseter <user@4574.co.uk>2018-12-08 17:36:38 +0000
commita80aa90a8b47a3e6be04a4ee1ebb11b3dd29494f (patch)
treebbeb6354bf4cf12a7cdc7e3dd68a4a779365bf75 /day08/Makefile
parentb4c9a987745cb784ad75373029a77d4ab6429c19 (diff)
[day08] done
Diffstat (limited to 'day08/Makefile')
-rw-r--r--day08/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/day08/Makefile b/day08/Makefile
new file mode 100644
index 0000000..b6cf05e
--- /dev/null
+++ b/day08/Makefile
@@ -0,0 +1,17 @@
+DAY = 08
+
+.PHONY: run clean push
+
+run: build
+ docker run -it --rm aoc2018day$(DAY)
+
+build: part* input
+ docker build -t aoc2018day$(DAY) .
+ touch build
+
+clean:
+ rm -f build
+
+push: build
+ docker tag aoc2018day$(DAY) advent.4574.co.uk/aoc2018day$(DAY)
+ docker push advent.4574.co.uk/aoc2018day$(DAY)