add message about installing dependencies in build
This commit is contained in:
parent
cba6a40394
commit
dafe9bb87d
2 changed files with 7 additions and 8 deletions
1
build.sh
1
build.sh
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# this is here because teamcity runs /build.sh to build the project
|
# this is here because teamcity runs /build.sh to build the project
|
||||||
set -euxo pipefail
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
$DIR/build/build.sh
|
$DIR/build/build.sh
|
|
@ -9,13 +9,11 @@ BUILD_DIR="$ROOT/build"
|
||||||
LINUX=false
|
LINUX=false
|
||||||
OSX=false
|
OSX=false
|
||||||
if [ "$(uname)" == "Darwin" ]; then
|
if [ "$(uname)" == "Darwin" ]; then
|
||||||
set -x
|
echo -e "\033[0;32mBuilding for OSX\x1b[m"
|
||||||
OSX=true
|
OSX=true
|
||||||
set +x
|
|
||||||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
||||||
set -x
|
echo -e "\033[0;32mBuilding for Linux\x1b[m"
|
||||||
LINUX=true
|
LINUX=true
|
||||||
set +x
|
|
||||||
else
|
else
|
||||||
echo -e "\033[1;31mPlatform detection failed\x1b[m"
|
echo -e "\033[1;31mPlatform detection failed\x1b[m"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -26,12 +24,14 @@ if $OSX; then
|
||||||
else
|
else
|
||||||
ICON="$BUILD_DIR/icons/48x48.png"
|
ICON="$BUILD_DIR/icons/48x48.png"
|
||||||
fi
|
fi
|
||||||
set -x
|
|
||||||
FULL_BUILD="${FULL_BUILD:-false}"
|
FULL_BUILD="${FULL_BUILD:-false}"
|
||||||
set +x
|
|
||||||
if [ -n "${TEAMCITY_VERSION:-}" -o -n "${APPVEYOR:-}" ]; then
|
if [ -n "${TEAMCITY_VERSION:-}" -o -n "${APPVEYOR:-}" ]; then
|
||||||
FULL_BUILD="true"
|
FULL_BUILD="true"
|
||||||
fi
|
fi
|
||||||
|
if [ "$FULL_BUILD" != "true" ]; then
|
||||||
|
echo -e "\033[1;36mDependencies will NOT be installed. Run with 'FULL_BUILD=true' to install dependencies.\x1b[m"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$FULL_BUILD" == "true" ]; then
|
if [ "$FULL_BUILD" == "true" ]; then
|
||||||
# install dependencies
|
# install dependencies
|
||||||
|
|
Loading…
Reference in a new issue