Fix composer file setup

This commit is contained in:
Dennis Eichhorn 2018-01-06 16:45:35 +01:00
parent 7479a48f09
commit 1abbde69f6
2 changed files with 6 additions and 2 deletions

View File

@ -9,7 +9,7 @@ mysql -e 'create database oms;' -u ${DB_USER} -p${DB_PASSWORD}
#echo "USE mysql;\nUPDATE user SET password=PASSWORD('123456') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
# Build js
. Js/build.sh
#. Js/build.sh
# Executing unit tests
. Inspection/Php/tests.sh

View File

@ -27,6 +27,9 @@ do
c=$((c+1))
done
cd ${ROOT_PATH}
git submodule update --init --recursive
# Creating directories for inspection
mkdir -p ${INSPECTION_PATH}/logs
mkdir -p ${INSPECTION_PATH}/Framework/logs
@ -68,7 +71,8 @@ if [ ! -d "$TOOLS_PATH" ]; then
wget -nc http://dl.google.com/closure-compiler/compiler-latest.tar.gz
tar -zxvf compiler-latest.tar.gz
cp ${BUILD_PATH}/Configs/composer.json ${TOOLS_PATH}/composer.json
chmod -R 777 ${TOOLS_PATH}
cp ${ROOT_PATH}/composer.json ${TOOLS_PATH}/composer.json
php composer.phar install
fi