1
0
mirror of https://github.com/danog/PrimeModule.git synced 2024-11-26 20:34:37 +01:00

Improve deps installation script

This commit is contained in:
Daniil Gentili 2018-03-16 13:20:36 +01:00
parent 99de2cd8d1
commit df0a4ccf9b

View File

@ -1,17 +1,17 @@
#!/bin/bash
export PATH=$PATH:~/.phpenv/versions/$(phpenv version-name)/bin
cd /tmp
git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP
cd PHP-CPP
make -j16
sudo make install
cd /tmp &&
git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP &&
cd PHP-CPP &&
make -j16 &&
sudo make install &&
cd ../
git clone https://github.com/danog/PrimeModule-ext
cd PrimeModule-ext
make -j16
echo "extension=$PWD/primemodule.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
cd ../ &&
git clone https://github.com/danog/PrimeModule-ext &&
cd PrimeModule-ext &&
make -j16 &&
echo "extension=$PWD/primemodule.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini &&
cd ..
exit 0