mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
DEVTOOLS: Added pre-prelease checks for ultima.dat and mm.dat
This commit is contained in:
parent
ba2b5665d7
commit
03c7597552
@ -203,6 +203,10 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
###########
|
||||||
|
# Release Notes
|
||||||
|
###########
|
||||||
|
|
||||||
echo_n "Checking Release Notes..."
|
echo_n "Checking Release Notes..."
|
||||||
|
|
||||||
VERSION=`grep SCUMMVM_VERSION base/internal_version.h | awk -F\" '{ print $2 }'`
|
VERSION=`grep SCUMMVM_VERSION base/internal_version.h | awk -F\" '{ print $2 }'`
|
||||||
@ -225,6 +229,45 @@ else
|
|||||||
echoOk
|
echoOk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
###########
|
||||||
|
# MM engine
|
||||||
|
###########
|
||||||
|
|
||||||
|
echo_n "Checking mm.dat..."
|
||||||
|
|
||||||
|
fileDate=`git log -1 dists/engine-data/mm.dat | grep Date | sed 's/Date: //'`
|
||||||
|
|
||||||
|
num_lines=`git -P log --oneline "--since=$fileDate" devtools/create_mm/files | wc -l`
|
||||||
|
|
||||||
|
if [ "$num_lines" -ne "0" ]; then
|
||||||
|
echo "$num_lines unprocessed commits. ${RED}Run 'cd devtools/create_mm/files; zip -r9 ../../../dists/engine-data/mm.dat .'${NC}"
|
||||||
|
|
||||||
|
failPlus
|
||||||
|
else
|
||||||
|
echoOk
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###########
|
||||||
|
# Ultima engine
|
||||||
|
###########
|
||||||
|
|
||||||
|
echo_n "Checking ultima.dat..."
|
||||||
|
|
||||||
|
fileDate=`git log -1 dists/engine-data/ultima.dat | grep Date | sed 's/Date: //'`
|
||||||
|
|
||||||
|
num_lines=`git -P log --oneline "--since=$fileDate" devtools/create_ultima/files | wc -l`
|
||||||
|
|
||||||
|
if [ "$num_lines" -ne "0" ]; then
|
||||||
|
echo "$num_lines unprocessed commits. ${RED}Run 'cd devtools/create_ultima/files; zip -r9 ../../../dists/engine-data/ultima.dat .'${NC}"
|
||||||
|
|
||||||
|
failPlus
|
||||||
|
else
|
||||||
|
echoOk
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###########
|
###########
|
||||||
# Totals
|
# Totals
|
||||||
|
Loading…
x
Reference in New Issue
Block a user