aboutsummaryrefslogtreecommitdiff
path: root/day12/Makefile
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2019-10-22 00:18:37 +0100
committerNat Lasseter <user@4574.co.uk>2019-10-22 00:18:37 +0100
commitede81a630c8f67cad53ce17af86bdf4fc1ff9307 (patch)
tree61f23e98570e959c2fb593c74e4c955d1f9b28fd /day12/Makefile
parent5534d4e4054f03ac74ff1ab0bd9811aebd5a9aea (diff)
Day 12, part1 only
Diffstat (limited to 'day12/Makefile')
-rw-r--r--day12/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/day12/Makefile b/day12/Makefile
new file mode 100644
index 0000000..9ab5150
--- /dev/null
+++ b/day12/Makefile
@@ -0,0 +1,17 @@
+DAY = 12
+
+.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)