-
Notifications
You must be signed in to change notification settings - Fork 3
/
sync_submodules.sh
executable file
·99 lines (88 loc) · 1.49 KB
/
sync_submodules.sh
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
#!/bin/bash
git submodule update --init --recursive
git submodule update --remote
check_status() {
if [ $? -eq 0 ]; then
printf " ✅ OK\n"
else
printf " ❌ ERROR\n"
fi
}
# Update TurtleTests
(
printf "\n[ Make TurtleTests ]\n"
cd roms/TurtleTests
make clean
make all
check_status
)
# Update mooneye-gb
(
printf "\n[ Make mooneye-test-suite ]\n"
cd roms/mooneye-test-suite
make clean
make all
check_status
)
# Update mealybug-tearoom-tests
(
printf "\n[ Make mealybug-tearoom-tests ]\n"
cd roms/mealybug-tearoom-tests
make clean
make all
)
# Update dmg-acid2
(
printf "\n[ Make dmg-acid2 ]\n"
cd roms/dmg-acid2
make clean
make all
check_status
)
# Update cgb-acid2
(
echo "[ Make cgb-acid2 ]"
cd roms/cgb-acid2
make clean
make all
check_status
)
# Update striketrough.gb
(
echo "[ Make striketrough ]"
cd roms/strikethrough
make clean
make
)
# Update BullyGB
(
echo "[ Make BullyGB ]"
cd roms/BullyGB
make clean
make
check_status
)
# Update MBC3 Tester
(
echo "[ Make MBC3 Tester ]"
cd roms/MBC3-Tester-gb/disassembly
make clean
make all
check_status
)
# Update wilbertpol-test-suite
(
echo "[ Make Wilbert Pol's test suite ]"
cd roms/wilbertpol-test-suite
make clean
make
check_status
)
# Update AGE test roms
(
echo "[ Make AGE test roms ]"
cd roms/age-test-roms
make clean
make
check_status
)