aboutsummaryrefslogtreecommitdiff
path: root/day09/Makefile
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2018-12-09 07:55:40 +0000
committerNat Lasseter <user@4574.co.uk>2018-12-09 07:55:40 +0000
commit400c7a256d3f3d41b84889c4c34ea90afb51f730 (patch)
tree5ec2af7b89c92a7ce1db9b22d9d45142b9ac17eb /day09/Makefile
parenta80aa90a8b47a3e6be04a4ee1ebb11b3dd29494f (diff)
[day09] Part 1 done, does not scale
Diffstat (limited to 'day09/Makefile')
-rw-r--r--day09/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/day09/Makefile b/day09/Makefile
new file mode 100644
index 0000000..df55a83
--- /dev/null
+++ b/day09/Makefile
@@ -0,0 +1,17 @@
+DAY = 09
+
+.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)