mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-12 09:08:40 +00:00
reduce install output
This commit is contained in:
parent
a5ba8b72ba
commit
12ad795c55
44
setup.sh
44
setup.sh
|
|
@ -26,16 +26,16 @@ echo "#################################################"
|
||||||
# Create git repositories
|
# Create git repositories
|
||||||
for i in "${GITHUB_URL[@]}"
|
for i in "${GITHUB_URL[@]}"
|
||||||
do
|
do
|
||||||
git clone -b ${GIT_BRANCH} $i
|
git clone -b ${GIT_BRANCH} $i >/dev/null
|
||||||
done
|
done
|
||||||
|
|
||||||
cd ${BASE_PATH}/Website
|
cd ${BASE_PATH}/Website
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive >/dev/null
|
||||||
git submodule foreach git checkout develop
|
git submodule foreach git checkout develop >/dev/null
|
||||||
|
|
||||||
cd ${ROOT_PATH}
|
cd ${ROOT_PATH}
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive >/dev/null
|
||||||
git submodule foreach git checkout develop
|
git submodule foreach git checkout develop >/dev/null
|
||||||
|
|
||||||
echo "#################################################"
|
echo "#################################################"
|
||||||
echo "Setup hooks"
|
echo "Setup hooks"
|
||||||
|
|
@ -107,27 +107,27 @@ echo "Setup tools"
|
||||||
echo "#################################################"
|
echo "#################################################"
|
||||||
|
|
||||||
# Downloading tools
|
# Downloading tools
|
||||||
wget --tries=2 -nc https://getcomposer.org/composer.phar
|
wget --tries=2 -nc https://getcomposer.org/composer.phar >/dev/null
|
||||||
wget --tries=2 -nc https://phar.phpunit.de/phploc.phar
|
wget --tries=2 -nc https://phar.phpunit.de/phploc.phar >/dev/null
|
||||||
wget --tries=2 -nc https://phar.phpunit.de/phpunit.phar
|
wget --tries=2 -nc https://phar.phpunit.de/phpunit.phar >/dev/null
|
||||||
wget --tries=2 -nc https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.5.0/phpcs.phar
|
wget --tries=2 -nc https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.5.0/phpcs.phar >/dev/null
|
||||||
#wget --tries=2 -nc http://static.phpmd.org/php/latest/phpmd.phar no longer available
|
#wget --tries=2 -nc http://static.phpmd.org/php/latest/phpmd.phar no longer available >/dev/null
|
||||||
wget --tries=2 -nc https://github.com/Halleck45/PhpMetrics/raw/master/build/phpmetrics.phar
|
wget --tries=2 -nc https://github.com/Halleck45/PhpMetrics/raw/master/build/phpmetrics.phar >/dev/null
|
||||||
#wget --tries=2 -nc http://static.pdepend.org/php/latest/pdepend.phar
|
#wget --tries=2 -nc http://static.pdepend.org/php/latest/pdepend.phar >/dev/null
|
||||||
wget --tries=2 -nc http://dl.google.com/closure-compiler/compiler-latest.tar.gz
|
wget --tries=2 -nc http://dl.google.com/closure-compiler/compiler-latest.tar.gz >/dev/null
|
||||||
wget --tries=2 -nc https://github.com/phpstan/phpstan/releases/download/0.11.16/phpstan.phar
|
wget --tries=2 -nc https://github.com/phpstan/phpstan/releases/download/0.11.16/phpstan.phar >/dev/null
|
||||||
wget --tries=2 -nc https://github.com/phan/phan/releases/download/0.12.5/phan.phar
|
wget --tries=2 -nc https://github.com/phan/phan/releases/download/0.12.5/phan.phar >/dev/null
|
||||||
wget --tries=2 -nc https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.13.1/php-cs-fixer.phar
|
wget --tries=2 -nc https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.13.1/php-cs-fixer.phar >/dev/null
|
||||||
wget --tries=2 -nc https://github.com/jasmine/jasmine/releases/download/v3.1.0/jasmine-standalone-3.1.0.zip
|
wget --tries=2 -nc https://github.com/jasmine/jasmine/releases/download/v3.1.0/jasmine-standalone-3.1.0.zip >/dev/null
|
||||||
wget --tries=2 -nc https://github.com/Orange-Management/Documentor/releases/download/v1.1.1/documentor.phar
|
wget --tries=2 -nc https://github.com/Orange-Management/Documentor/releases/download/v1.1.1/documentor.phar >/dev/null
|
||||||
wget --tries=2 -nc https://github.com/Orange-Management/TestReportGenerator/releases/download/1.1.0-rc3/testreportgenerator.phar
|
wget --tries=2 -nc https://github.com/Orange-Management/TestReportGenerator/releases/download/1.1.0-rc3/ testreportgenerator.phar >/dev/null
|
||||||
|
|
||||||
mkdir ${ROOT_PATH}/jsOMS/tests
|
mkdir ${ROOT_PATH}/jsOMS/tests
|
||||||
|
|
||||||
unzip -n -j jasmine-standalone-3.1.0.zip -d ${ROOT_PATH}/jsOMS/tests
|
unzip -n -j jasmine-standalone-3.1.0.zip -d ${ROOT_PATH}/jsOMS/tests >/dev/null
|
||||||
tar -zxvf compiler-latest.tar.gz
|
tar -zxvf compiler-latest.tar.gz >/dev/null
|
||||||
|
|
||||||
chmod -R 777 ${TOOLS_PATH}
|
chmod -R 777 ${TOOLS_PATH}
|
||||||
|
|
||||||
cp ${ROOT_PATH}/composer.json ${TOOLS_PATH}/composer.json
|
cp ${ROOT_PATH}/composer.json ${TOOLS_PATH}/composer.json
|
||||||
php ${TOOLS_PATH}/composer.phar install --working-dir=${ROOT_PATH}/
|
php ${TOOLS_PATH}/composer.phar install --working-dir=${ROOT_PATH}/ >/dev/null
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user