Skip to content
Snippets Groups Projects
Commit bedbab95 authored by Emmanuel Lepage Vallee's avatar Emmanuel Lepage Vallee
Browse files

build-system: Make it easier to run the build script locally

refs #51162

Change-Id: I28e04cfa5101bab1ced5af30f2f66765fe789708
parent f525d18d
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,30 @@
set -x
#Check dependencies
# Download the KDE client release script
if ! command -v curl ; then
echo Please install curl
exit 1
fi
# Merge the KDE translation files
if ! command -v ruby ; then
echo Please install ruby
exit 1
fi
# Download the KDE client and scripts
if ! command -v git ; then
echo Please install git
exit 1
fi
# Fetch KDE translations, the gnome client use bzr
if ! command -v svn ; then
echo Please install svn
exit 1
fi
. `dirname $0`/setenv.sh
IS_RELEASE=
......@@ -32,6 +56,7 @@ echo " | SFLPhone build system |"
echo " \\***********************/"
echo
for PARAMETER in $*
do
case ${PARAMETER} in
......
......@@ -21,6 +21,11 @@ export EDITOR="echo"
export REFERENCE_REPOSITORY="${WORKSPACE}"
# In case the script is executed manually, replace the variables set by Jenkins
if [ "${WORKSPACE}" == "" ]; then
WORKSPACE="."
fi
export WORKING_DIR="${WORKSPACE}/tools/build-system"
export LAUNCHPAD_DIR="${WORKING_DIR}/launchpad"
LAUNCHPAD_DISTRIBUTIONS=("quantal" "saucy" "trusty")
......@@ -31,7 +36,7 @@ cd ${WORKSPACE}
rm -rf config.ini
rm -rf kde
curl https://projects.kde.org/projects/playground/network/sflphone-kde/repository/revisions/master/raw/data/config.ini > config.ini
git clone git://anongit.kde.org/kde-dev-scripts
git clone http://anongit.kde.org/kde-dev-scripts
ruby kde-dev-scripts/createtarball/create_tarball.rb -n -a sflphone-kde
rm -rf kde-dev-scripts
tar -xpvf sflphone-kde-*.tar.*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment