mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Rework argument passing in analysis plugin
This commit is contained in:
parent
3e1afd1e00
commit
76ff756598
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user