Checking in all files.

This commit is contained in:
Trevor Brown
2016-05-27 14:50:31 -04:00
parent 2994caf7d7
commit b94bee9605
3 changed files with 20 additions and 5 deletions

View File

@@ -7,6 +7,18 @@
asdf plugin-add php https://github.com/Stratus3D/asdf-php.git
```
## Development
Installing during development:
```
cp -r . ~/.asdf/plugins/php
```
####PHP Download Mirrors
I considered trying to use mirrors when downloading the source code. It seemed simpler to just download the release from GitHub. Example code: https://gist.github.com/lox/9152137
## Use
Check the [asdf](https://github.com/HashNuke/asdf) readme for instructions on how to install & manage versions of PHP.

View File

@@ -29,14 +29,14 @@ install_php() {
target=$(get_target)
# Build PHP
if version_5x_or_greater $version; then
#if version_5x_or_greater $version; then
make $target || exit 1
make test || exit 1
make local || exit 1
else
make || exit 1
make install INSTALL_ROOT=install || exit 1
fi
#else
# make || exit 1
# make install INSTALL_ROOT=install || exit 1
#fi
# `make local` target changed in version 5x
if version_5_2x_or_greater $version; then

3
bin/list-bin-paths Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
echo "bin luarocks/bin"