aboutsummaryrefslogtreecommitdiff
path: root/day07/Makefile
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2018-12-07 11:25:40 +0000
committerNat Lasseter <user@4574.co.uk>2018-12-07 11:25:40 +0000
commitb4c9a987745cb784ad75373029a77d4ab6429c19 (patch)
tree7fa4af026f092948f13721e6547a68dd0bb32f2c /day07/Makefile
parent0601ee07997c1fc76e912ec060bc7ae82ecfcae1 (diff)
[day07] Done
Diffstat (limited to 'day07/Makefile')
-rw-r--r--day07/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/day07/Makefile b/day07/Makefile
new file mode 100644
index 0000000..6efb4cd
--- /dev/null
+++ b/day07/Makefile
@@ -0,0 +1,17 @@
+DAY = 07
+
+.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)