aboutsummaryrefslogtreecommitdiff
path: root/day13/Makefile
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2019-10-22 17:59:19 +0100
committerNat Lasseter <user@4574.co.uk>2019-10-22 17:59:19 +0100
commit85757e46552653685abe692d28bde663d6b4d779 (patch)
treef135615ad94d1cf166a7ee605ab006ea3852e818 /day13/Makefile
parent3575bedba1aaaa057e7472caeba15d9556f8a798 (diff)
Day 13
Diffstat (limited to 'day13/Makefile')
-rw-r--r--day13/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/day13/Makefile b/day13/Makefile
new file mode 100644
index 0000000..8fd5ebb
--- /dev/null
+++ b/day13/Makefile
@@ -0,0 +1,17 @@
+DAY = 13
+
+.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)