1
0
mirror of https://github.com/danog/PrimeModule.git synced 2024-12-02 09:37:54 +01:00
PrimeModule/tests/install_deps.sh

18 lines
414 B
Bash
Raw Normal View History

2017-05-25 16:51:31 +02:00
#!/bin/bash
2017-05-07 15:09:52 +02:00
export PATH=$PATH:~/.phpenv/versions/$(phpenv version-name)/bin
2017-05-07 15:05:34 +02:00
2018-03-16 13:20:36 +01:00
cd /tmp &&
git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP &&
cd PHP-CPP &&
make -j16 &&
sudo make install &&
2017-05-06 21:27:38 +02:00
2018-03-16 13:20:36 +01:00
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 &&
2017-05-06 21:27:38 +02:00
cd ..
2017-05-25 16:51:31 +02:00
exit 0