-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
137 lines (110 loc) · 2.49 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
all: make_day1 make_day2 make_day1_gps make_day3 make_day4 make_day5 make_day6 make_day7 make_day8 make_day9 make_day10 make_day11 make_day12 make_day13 make_day14 make_day15 make_day16 make_day17 make_day18 make_day19 make_day20 make_day21 make_day22 make_day23 make_day24 make_day25
.PHONY: make_day1
make_day1:
cd day1; \
npm i; \
npm start;
.PHONY: make_day1_gps
make_day1_gps:
echo "https://aoc.meilisearch.com/"; \
cd day1-gps; \
npm i; \
npm start;
.PHONY: make_day2
make_day2:
cd day2/aoc-2022-day2; \
mvn package; \
java -cp target/aoc-2022-day2-1.0-SNAPSHOT.jar com.pessimistic.App;
.PHONY: make_day3
make_day3:
cd day3; \
mvn package; \
kotlin -cp target/day3-1.0-SNAPSHOT.jar com.pessimistic.HelloKt;
.PHONY: make_day4
make_day4:
cd day4; \
python aoc.py;
.PHONY: make_day5
make_day5:
cd day5; \
make run;
.PHONY: make_day6
make_day6:
cd day6; \
sbt run
.PHONY: make_day7
make_day7:
cd day7; \
mvn test;
.PHONY: make_day8
make_day8:
cd day8; \
ruby lib/part1.rb; \
ruby lib/part2.rb;
.PHONY: make_day9
make_day9:
cd day9; \
cargo run;
.PHONY: make_day10
make_day10:
cd day10; \
deno run --allow-read main.ts;
.PHONY: make_day11
make_day11:
cd day11; \
julia src/day11.jl;
.PHONY: make_day12
make_day12:
cd day12; \
dotnet run;
.PHONY: make_day13
make_day13:
cd day13; \
elixir day13.exs;
.PHONY: make_day14
make_day14:
cd day14; \
go run sand.go;
.PHONY: make_day15
make_day15:
cd day15; \
lua day15.lua input.txt 2000000 3000000 4000000;
.PHONY: make_day16
make_day16:
echo "swift sucks";
.PHONY: make_day17
make_day17:
cd day17; \
dart run;
.PHONY: make_day18
make_day18:
cd day18; \
dotnet run test.txt;
.PHONY: make_day19
make_day19:
cd day19; \
dart run bin/day19.dart test.txt 32;
.PHONY: make_day20
make_day20:
cd day20; \
deno run --allow-read main.ts;
.PHONY: make_day21
make_day21:
cd day21; \
./day21.sh test.txt;
.PHONY: make_day22
make_day22:
cd day22; \
dart run bin/day22.dart test.txt 4;
.PHONY: make_day23
make_day23:
cd day23; \
deno run --allow-read main.ts test.txt;
.PHONY: make_day24
make_day24:
cd day24; \
julia src/day24.jl test.txt;
.PHONY: make_day25
make_day25:
cd day25; \
dotnet run -- test.txt;