mirror of
https://github.com/jlengrand/asdf-php.git
synced 2026-03-10 08:01:22 +00:00
Checking in all files.
This commit is contained in:
12
README.md
12
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.
|
||||
|
||||
10
bin/install
10
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
|
||||
|
||||
3
bin/list-bin-paths
Normal file
3
bin/list-bin-paths
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "bin luarocks/bin"
|
||||
Reference in New Issue
Block a user