projects
/
pharext
/
pharext
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
add CliArgsTest
[pharext/pharext]
/
README.md
diff --git
a/README.md
b/README.md
index 9b098a6449b4f6de118a66753569e648c083d30e..63b6cdfaa05fc4a1f4ebdb5605941b62b963c6cc 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-49,6
+49,7
@@
If your installation destination needs escalated permissions, have a look at the
The usual tools you need to build a PHP extension:
* php, phpize and php-config
* make, cc and autotools
The usual tools you need to build a PHP extension:
* php, phpize and php-config
* make, cc and autotools
+
A network connection is not needed.
### Not implemented
A network connection is not needed.
### Not implemented
@@
-56,9
+57,13
@@
A network connection is not needed.
* Dependencies
* Package description files
* Dependencies
* Package description files
+## Download for extension maintainers
+
+Download the pharext binary of the [latest release](https://github.com/m6w6/pharext/releases/latest).
+
## Installation for extension maintainers
## Installation for extension maintainers
- $ composer require m6w6/pharext
+ $ composer require
--dev
m6w6/pharext
### Prerequisites:
### Prerequisites:
@@
-67,7
+72,7
@@
A network connection is not needed.
## Usage
## Usage
- $ ./bin/pharext --pecl --source ../pecl_http.git
+ $ ./
vendor/
bin/pharext --pecl --source ../pecl_http.git
Yields:
Yields:
@@
-78,7
+83,7
@@
Note that the PECL source can infer package name and release version from the pa
Another example using `git ls-files`:
Another example using `git ls-files`:
- $ ./bin/pharext -v -g -s ../raphf.git --name raphf --release 1.0.5
+ $ ./
vendor/
bin/pharext -v -g -s ../raphf.git --name raphf --release 1.0.5
Yields:
Yields:
@@
-103,13
+108,13
@@
Yields:
Command help:
Command help:
- $ ./bin/pharext --help
+ $ ./
vendor/
bin/pharext --help
Yields:
Usage:
Yields:
Usage:
- $ ./bin/pharext [-h|-v|-q|-g|-p] -s <arg> -n <arg> -r <arg> [-d <arg>]
+ $ ./
vendor/
bin/pharext [-h|-v|-q|-g|-p] -s <arg> -n <arg> -r <arg> [-d <arg>]
-h|--help Display this help
-v|--verbose More output
-h|--help Display this help
-v|--verbose More output
@@
-121,3
+126,6
@@
Yields:
-n|--name <arg> Extension name (REQUIRED)
-r|--release <arg> Extension release version (REQUIRED)
-n|--name <arg> Extension name (REQUIRED)
-r|--release <arg> Extension release version (REQUIRED)
+## Rebuilding
+
+ $ make -C vendor/m6w6/pharext