mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2025-02-19 06:30:28 +00:00
20 lines
500 B
Bash
Executable File
20 lines
500 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Avoid the uber-slow step of running the emulator when nothing has changed
|
|
|
|
if [ ! -f BuildResults/RISC/Image/RomMondo ]
|
|
then
|
|
echo "RomMondo not yet built"
|
|
echo "> Starting emulator to build RomMondo"
|
|
empw EasyBuild
|
|
echo "< Emulator done"
|
|
exit
|
|
fi
|
|
|
|
echo "Checking for files updated since RomMondo"
|
|
find . ! -regex '.*/\..*' ! -iname '*.dmg' -newer BuildResults/RISC/Image/RomMondo | grep . || exit 0
|
|
|
|
echo "> Starting emulator to build RomMondo"
|
|
empw EasyBuild
|
|
echo "< Emulator done"
|