mirror of https://gitee.com/bigwinds/arangodb
32 lines
549 B
Bash
Executable File
32 lines
549 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
cd "${DIR}/.."
|
|
EP=""
|
|
for i in "$@"; do
|
|
if test "$i" == "--enterprise"; then
|
|
EP="EP"
|
|
fi
|
|
done
|
|
|
|
if ! test -d 3rdParty/arangodb-starter; then
|
|
MOREOPTS+=("--downloadStarter")
|
|
fi
|
|
|
|
./Installation/Jenkins/build.sh \
|
|
standard \
|
|
--parallel 8 \
|
|
--package Bundle \
|
|
--buildDir build-${EP}bundle \
|
|
--targetDir /var/tmp/ \
|
|
--prefix "/opt/arangodb" \
|
|
--clang \
|
|
--staticOpenSSL \
|
|
"${MOREOPTS[@]}" \
|
|
"$@"
|
|
|
|
cd "${DIR}/.."
|