Last active
August 29, 2015 14:10
-
-
Save royopa/599259ebeffa6ab7b1cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo add-apt-repository ppa:webupd8team/sublime-text-3 | |
sudo apt-get update | |
sudo apt-get install git subversion php5-cli php-pear sublime-text-installer php5-sqlite | |
mkdir ~/translation_fest | |
cd ~/translation_fest | |
git clone https://git.php.net/repository/phd.git | |
cd phd | |
sudo pear install package.xml package_generic.xml package_php.xml | |
# Set the path to PHP from environment or use which to discover it | |
if [ "$PHP" == "" ]; | |
then | |
PHP=$(which php 2>/dev/null) | |
fi | |
# Sets the path to PHD from environment or use which to discover it | |
if [ "$PHD" == "" ]; | |
then | |
PHD=$(which phd 2>/dev/null) | |
fi | |
# Sets the browser application from environment or falls back on open if it is found | |
if [ "$BROWSER" == "" ]; | |
then | |
BROWSER=$(which open 2>/dev/null) | |
fi | |
# Test for executability of PHP | |
if [ ! -x "$PHP" ]; | |
then | |
echo "Cannot execute PHP ($PHP) !" | |
exit 1 | |
fi | |
# Test for executability of PHD | |
if [ ! -x "$PHD" ]; | |
then | |
echo "Cannot execute $PHD, is PHD installed ?" | |
exit 2 | |
fi | |
cd ~/translation_fest | |
svn co https://svn.php.net/repository/phpdoc/modules/doc-pt_BR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Não tá faltando o idioma em https://gist.github.com/royopa/599259ebeffa6ab7b1cb#file-build-machine-translation_fest-L47?
E isso https://gist.github.com/royopa/599259ebeffa6ab7b1cb#file-build-machine-translation_fest-L62 não deveria estar pra cima?