diff --git a/README.md b/README.md index d7e926a..cd3c80d 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/bin/install b/bin/install index 0c05cf0..feb89f0 100644 --- a/bin/install +++ b/bin/install @@ -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 diff --git a/bin/list-bin-paths b/bin/list-bin-paths new file mode 100644 index 0000000..c3ef1df --- /dev/null +++ b/bin/list-bin-paths @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +echo "bin luarocks/bin"