mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
Fix composer file setup
This commit is contained in:
parent
7479a48f09
commit
1abbde69f6
|
|
@ -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
|
||||
|
|
|
|||
6
setup.sh
6
setup.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user