aboutsummaryrefslogtreecommitdiff
path: root/day03/Makefile
blob: 53092427db016d7ad706f63e30dbb0833a2a1ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DAY = 03

.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)