aboutsummaryrefslogtreecommitdiff
path: root/day18/Makefile
blob: 9978cb178460705282774d7a3eb5e9a44652dc78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)