11export DOCKER_TAG="jonasjso/adventofcode2020 :2020-12-01-with-ruby"
22
3+ .PHONY :
4+ dockerbuild\
5+ dockerpush\
6+ test\
7+ test.all\
8+ docker.test\
9+ docker.all\
10+ docker.build\
11+ docker.push\
12+ docker.versions\
13+ versions\
14+ workflows\
15+ ; \
16+
317test.all :
418 for day in $$ (ls days); do ./days/$$ day/test.sh; done
519
@@ -10,10 +24,12 @@ test.example:
1024 make test DAY=day-00-example
1125
1226test.day00 : test.example
27+
1328test.day01 :
1429 make test DAY=day-01
1530test.day02 :
1631 make test DAY=day-02
32+ # ...and so on. The list continues at the bottom of the Makefile.
1733
1834#
1935# make docker.test DAY=<day>
@@ -32,10 +48,12 @@ docker.example:
3248 make docker.test DAY=day-00-example
3349
3450docker.day00 : docker.example
51+
3552docker.day01 :
3653 make docker.test DAY=day-01
3754docker.day02 :
3855 make docker.test DAY=day-02
56+ # ...and so on. The list continues at the bottom of the Makefile.
3957
4058docker.all :
4159 docker run -ti -v $(PWD ) :/test $(DOCKER_TAG ) /bin/bash -c " cd /test && make && exit"
@@ -55,16 +73,34 @@ versions:
5573worflows :
5674 ./scripts/make-workflows.sh
5775
58- .PHONY :
59- dockerbuild\
60- dockerpush\
61- test\
62- test.all\
63- docker.test\
64- docker.all\
65- docker.build\
66- docker.push\
67- docker.versions\
68- versions\
69- workflows\
70- ; \
76+ # ...continuing where we left off
77+ test.day03 :
78+ make test DAY=day-03
79+ test.day04 :
80+ make test DAY=day-04
81+ test.day05 :
82+ make test DAY=day-05
83+ test.day06 :
84+ make test DAY=day-06
85+ test.day07 :
86+ make test DAY=day-07
87+ test.day08 :
88+ make test DAY=day-08
89+ test.day09 :
90+ make test DAY=day-09
91+
92+ # ...continuing where we left off
93+ docker.day03 :
94+ make docker.test DAY=day-03
95+ docker.day04 :
96+ make docker.test DAY=day-04
97+ docker.day05 :
98+ make docker.test DAY=day-05
99+ docker.day06 :
100+ make docker.test DAY=day-06
101+ docker.day07 :
102+ make docker.test DAY=day-07
103+ docker.day08 :
104+ make docker.test DAY=day-08
105+ docker.day10 :
106+ make docker.test DAY=day-10
0 commit comments