# HG changeset patch # User František Kučera # Date 1376219810 -7200 # Node ID 1c0eb6a70c2a6ae4ce8bde5c73703ebedb349e09 # Parent cb8c5cccaa8d0a443e21de44a4e6968bfb592228 build script: warn if building from data file which was not commited into Mercurial diff -r cb8c5cccaa8d -r 1c0eb6a70c2a build.sh --- a/build.sh Fri Aug 09 23:25:16 2013 +0200 +++ b/build.sh Sun Aug 11 13:16:50 2013 +0200 @@ -37,6 +37,8 @@ pushd `dirname $0`/$GENERATOR_DIR +hg status ../../data/dictionary.xml | grep -q "^M" && echo -e "\033[31mWARNING: building from data file which was not commited into Mercurial!\033[0m"; + # build the generator if needed if [ ! -f $JAR ]; then ant;