Continue if there is an old executable
Chances are that the previous build works just as well. We just need it for config file parsing which does not change often.
This commit is contained in:
parent
ed6ad71f48
commit
03b6ad568c
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ mkdir -p "$trans"
|
|||
# we only need the parser, but have to build the game executable for that
|
||||
echo BUILDING
|
||||
cd "$dir" || exit # the scons build places the wesnoth executable in the current directory
|
||||
TRAVIS=1 TRAVIS_OS_NAME=Linux scons -Y "$src" --option-cache="$build/.scons-option-cache"
|
||||
# continue on failure if there is an executable from a previous build
|
||||
TRAVIS=1 TRAVIS_OS_NAME=Linux scons -Y "$src" --option-cache="$build/.scons-option-cache" || [ -x wesnoth ]
|
||||
|
||||
# later can just rebuild updated campaigns, but for now rebuild everything
|
||||
rm -f "$dir/overview.txt"
|
||||
|
|
Loading…
Add table
Reference in a new issue