diff --git a/.travis.yml b/.travis.yml index 2c16157..0d86afa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -73,6 +73,6 @@ matrix: name: "LongSoft/UEFITool" description: "UEFITool" notification_email: $NOTIFICATION_EMAIL - build_command_prepend: "NOBUILD=1 ./unixbuild.sh" - build_command: "PRECONFIGURED=1 ./unixbuild.sh" + build_command_prepend: "./unixbuild.sh --configure" + build_command: "./unixbuild.sh --build" branch_pattern: new_engine diff --git a/README.md b/README.md index dee8c9b..db48161 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ UEFITool is a viewer and editor of firmware images conforming to UEFI Platform Interface (PI) Specifications. -![UEFITool icon](https://raw.githubusercontent.com/LongSoft/UEFITool/new_engine/UEFITool/icons/uefitool_64x64.png "UEFITool icon") +![UEFITool icon](https://raw.githubusercontent.com/LongSoft/UEFITool/new_engine/UEFITool/icons/uefitool_64x64.png "UEFITool icon") [![Build Status](https://travis-ci.org/LongSoft/UEFITool.svg?branch=master)](https://travis-ci.org/LongSoft/UEFITool) [![Scan Status](https://scan.coverity.com/projects/17209/badge.svg?flat=1)](https://scan.coverity.com/projects/17209) diff --git a/unixbuild.sh b/unixbuild.sh index 17370fd..8261515 100755 --- a/unixbuild.sh +++ b/unixbuild.sh @@ -3,6 +3,12 @@ UTARGET=$(uname) BINSUFFIX="" +if [ "$1" = "--configure" ]; then + export NOBUILD=1 +elif [ "$1" = "--build" ]; then + export PRECONFIGURED=1 +fi + if [ "$UTARGET" = "Darwin" ]; then export UPLATFORM="mac" elif [ "$UTARGET" = "Linux" ]; then