| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # | 5 # |
| 6 | 6 |
| 7 # nacl-install-windows-ports-0.sh | 7 # nacl-install-windows-ports-0.sh |
| 8 # | 8 # |
| 9 # usage: nacl-install-windows-ports-0.sh | 9 # usage: nacl-install-windows-ports-0.sh |
| 10 # | 10 # |
| 11 # This script builds the packages for Native Client that are designated to | 11 # This script builds the packages for Native Client that are designated to |
| 12 # the bot named windows-ports-0. | 12 # the bot named windows-ports-0. |
| 13 # | 13 # |
| 14 | 14 |
| 15 source ../bot_common.sh | 15 source ../bot_common.sh |
| 16 | 16 |
| 17 SCRIPT_DIR="$(cd $(dirname $0) && pwd)" | 17 SCRIPT_DIR="$(cd $(dirname $0) && pwd)" |
| 18 cd ${SCRIPT_DIR}/../../.. | 18 cd ${SCRIPT_DIR}/../../.. |
| 19 make clean | 19 make clean |
| 20 | 20 |
| 21 # ffmpeg also builds lame, vorbis, theora, and ogg | 21 # ffmpeg also builds lame, vorbis, theora, and ogg |
| 22 BuildPackage ffmpeg | 22 BuildPackage ffmpeg |
| 23 BuildPackage nacl-mounts | 23 BuildPackage nacl-mounts |
| 24 BuildPackage sdl | 24 BuildPackage sdl |
| 25 BuildPackage scummvm | 25 BuildPackage scummvm |
| 26 BuildPackage bochs | 26 BuildPackage bochs |
| 27 BuildPackage jsoncpp | 27 BuildPackage jsoncpp |
| 28 | 28 |
| 29 echo "@@@BUILD_STEP ${NACL_PACKAGES_BITSIZE}-bit Summary@@@" | 29 echo "@@@BUILD_STEP ${NACL_ARCH} Summary@@@" |
| 30 if [[ $RESULT != 0 ]] ; then | 30 if [[ $RESULT != 0 ]] ; then |
| 31 echo "@@@STEP_FAILURE@@@" | 31 echo "@@@STEP_FAILURE@@@" |
| 32 fi | 32 fi |
| 33 | 33 |
| 34 echo -e "$MESSAGES" | 34 echo -e "$MESSAGES" |
| 35 | 35 |
| 36 exit $RESULT | 36 exit $RESULT |
| OLD | NEW |