mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-09 16:08: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
|
#echo "USE mysql;\nUPDATE user SET password=PASSWORD('123456') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
|
||||||
|
|
||||||
# Build js
|
# Build js
|
||||||
. Js/build.sh
|
#. Js/build.sh
|
||||||
|
|
||||||
# Executing unit tests
|
# Executing unit tests
|
||||||
. Inspection/Php/tests.sh
|
. Inspection/Php/tests.sh
|
||||||
|
|
|
||||||
6
setup.sh
6
setup.sh
|
|
@ -27,6 +27,9 @@ do
|
||||||
c=$((c+1))
|
c=$((c+1))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
cd ${ROOT_PATH}
|
||||||
|
git submodule update --init --recursive
|
||||||
|
|
||||||
# Creating directories for inspection
|
# Creating directories for inspection
|
||||||
mkdir -p ${INSPECTION_PATH}/logs
|
mkdir -p ${INSPECTION_PATH}/logs
|
||||||
mkdir -p ${INSPECTION_PATH}/Framework/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
|
wget -nc http://dl.google.com/closure-compiler/compiler-latest.tar.gz
|
||||||
tar -zxvf 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
|
php composer.phar install
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user