forked from brendanalford/zx-diagnostics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·40 lines (40 loc) · 1.17 KB
/
build.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
echo ========================
echo Building Diagboard stuff
echo ========================
./builddiag.sh
if [ $? -eq 0 ]; then
echo =================
echo Building Main ROM
echo =================
git rev-parse --abbrev-ref HEAD > branch.txt
git rev-parse --short HEAD > commit.txt
/bin/hostname > hostname.txt
./buildmain.sh
if [ $? -eq 0 ]; then
cd FlashUtils
echo ======================
echo Building FLASH Utility
echo ======================
./build.sh
if [ $? -eq 0 ]; then
cd ../TestTape
echo =========================
echo Building tape based tests
echo =========================
./build.sh
if [ $? -eq 0 ]; then
cd ../ROMCheck
echo ============================
echo Building ROM Checker utility
echo ============================
./build.sh
if [ $? -eq 0 ]; then
cd ..
echo All builds complete
exit
fi
fi
fi
fi
fi
echo Aborting main build.