aboutsummaryrefslogtreecommitdiff
path: root/day18/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'day18/Makefile')
-rw-r--r--day18/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/day18/Makefile b/day18/Makefile
new file mode 100644
index 0000000..9978cb1
--- /dev/null
+++ b/day18/Makefile
@@ -0,0 +1,17 @@
+DAY = 18
+
+.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)