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" name: "LongSoft/UEFITool"
description: "UEFITool" description: "UEFITool"
notification_email: $NOTIFICATION_EMAIL notification_email: $NOTIFICATION_EMAIL
build_command_prepend: "NOBUILD=1 ./unixbuild.sh" build_command_prepend: "./unixbuild.sh --configure"
build_command: "PRECONFIGURED=1 ./unixbuild.sh" build_command: "./unixbuild.sh --build"
branch_pattern: new_engine branch_pattern: new_engine

View File

@ -2,7 +2,7 @@
UEFITool is a viewer and editor of firmware images conforming to UEFI Platform Interface (PI) Specifications. 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) [![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)

View File

@ -3,6 +3,12 @@
UTARGET=$(uname) UTARGET=$(uname)
BINSUFFIX="" BINSUFFIX=""
if [ "$1" = "--configure" ]; then
export NOBUILD=1
elif [ "$1" = "--build" ]; then
export PRECONFIGURED=1
fi
if [ "$UTARGET" = "Darwin" ]; then if [ "$UTARGET" = "Darwin" ]; then
export UPLATFORM="mac" export UPLATFORM="mac"
elif [ "$UTARGET" = "Linux" ]; then elif [ "$UTARGET" = "Linux" ]; then