MXS-1300: Build MaxCtrl with experimental packages

The build scripts now download Node.js 6.11.2 for building and packaging
MaxCtrl. The client package is also created when the extra packages are
built.
This commit is contained in:
Markus Mäkelä
2017-08-08 05:42:09 +03:00
parent 7c38a56ea2
commit 826654b9de
3 changed files with 24 additions and 34 deletions

View File

@ -35,24 +35,19 @@ cd ..
cp _build/*.rpm .
cp _build/*.gz .
if [ "$build_experimental" == "yes" ] ; then
if [ "$build_experimental" == "yes" ]
then
for component in experimental devel client
do
sudo rm -rf _build
mkdir _build
cd _build
cmake .. $cmake_flags -DTARGET_COMPONENT=experimental
cmake .. $cmake_flags -DTARGET_COMPONENT=$component
sudo make package
cd ..
cp _build/*.rpm .
cp _build/*.gz .
sudo rm -rf _build
mkdir _build
cd _build
cmake .. $cmake_flags -DTARGET_COMPONENT=devel
sudo make package
cd ..
cp _build/*.rpm .
cp _build/*.gz .
cp _build/*.gz .
done
fi
if [ "$BUILD_RABBITMQ" == "yes" ] ; then