Skip to content

Commit

Permalink
Improve deps installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Mar 16, 2018
1 parent 99de2cd commit df0a4cc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/install_deps.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit df0a4cc

Please sign in to comment.