mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +00:00
* docker container definitions for package building * cmake targets for building packages * initial gitlab CI + artifactory integration
28 lines
739 B
Bash
Executable File
28 lines
739 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
function error {
|
|
echo $1
|
|
exit 1
|
|
}
|
|
|
|
cd /opt/rippled_bld/pkg/rippled
|
|
export RIPPLED_VERSION=$(egrep -i -o "\b(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-[0-9a-z\-]+(\.[0-9a-z\-]+)*)?(\+[0-9a-z\-]+(\.[0-9a-z\-]+)*)?\b" src/ripple/protocol/impl/BuildInfo.cpp)
|
|
|
|
cd ..
|
|
git clone https://github.com/ripple/validator-keys-tool.git
|
|
cd validator-keys-tool
|
|
git checkout origin/master
|
|
git submodule update --init --recursive
|
|
cd ..
|
|
|
|
: ${PKG_OUTDIR:=/opt/rippled_bld/pkg/out}
|
|
export PKG_OUTDIR
|
|
if [ ! -d ${PKG_OUTDIR} ]; then
|
|
error "${PKG_OUTDIR} is not mounted"
|
|
fi
|
|
|
|
if [ -x ${OPENSSL_ROOT}/bin/openssl ]; then
|
|
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${OPENSSL_ROOT}/lib ${OPENSSL_ROOT}/bin/openssl version -a
|
|
fi
|
|
|