Skip to content
Extraits de code Groupes Projets
Valider e0f9bc51 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Clean output of xhprof build script.

parent a3f70bb5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
#!/bin/bash #!/bin/bash
mkdir -p tmp/xhprof-logs
cd vendor/facebook/xhprof/extension cd vendor/facebook/xhprof/extension
echo "Building xhprof..." echo "Building xhprof..."
...@@ -7,17 +9,22 @@ echo "Building xhprof..." ...@@ -7,17 +9,22 @@ echo "Building xhprof..."
git fetch origin pull/33/head:33_pull_request git fetch origin pull/33/head:33_pull_request
git merge 33_pull_request git merge 33_pull_request
if ! phpize; then echo "Running phpize..."
echo "Fatal error: phpize failed!" if ! phpize &> ../../../../tmp/xhprof-logs/phpize.log; then
echo "Fatal error: phpize failed! View tmp/xhprof-logs/phpize.log for more info."
exit 1 exit 1
fi fi
if ! ./configure; then echo "Running configure script..."
echo "Fatal error: configure script failed!" if ! ./configure &> ../../../../tmp/xhprof-logs/configure.log; then
echo "Fatal error: configure script failed! View tmp/xhprof-logs/configure.log for more info."
exit 2 exit 2
fi fi
if ! make; then echo "Building..."
echo "Fatal error: could not build extension (make failed)!" if ! make &> ../../../../tmp/xhprof-logs/make.log; then
echo "Fatal error: could not build extension (make failed)! View tmp/xhprof-logs/make.log for more info."
exit 3 exit 3
fi fi
echo "Done."
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter