Rework argument passing in analysis plugin

This commit is contained in:
vit9696 2018-11-12 12:05:44 +03:00
parent 3e1afd1e00
commit 76ff756598
3 changed files with 9 additions and 3 deletions

View file

@ -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

View file

@ -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