add link to pharext download of the latest release
[pharext/pharext] / README.md
index feb30a07809655f4110b36a8034bdbb5d81619b3..63b6cdfaa05fc4a1f4ebdb5605941b62b963c6cc 100644 (file)
--- a/README.md
+++ b/README.md
@@ -57,9 +57,13 @@ A network connection is not needed.
 * 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
 
-       $ composer require m6w6/pharext
+       $ composer require --dev m6w6/pharext
 
 ### Prerequisites:
 
@@ -68,7 +72,7 @@ A network connection is not needed.
 
 ## Usage
 
-       $ ./bin/pharext --pecl --source ../pecl_http.git
+       $ ./vendor/bin/pharext --pecl --source ../pecl_http.git
 
 Yields:
 
@@ -79,7 +83,7 @@ Note that the PECL source can infer package name and release version from the pa
 
 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:
 
@@ -104,13 +108,13 @@ Yields:
 
 Command help:
 
-       $ ./bin/pharext --help
+       $ ./vendor/bin/pharext --help
 
 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 
@@ -122,3 +126,6 @@ Yields:
            -n|--name <arg>              Extension name (REQUIRED)
            -r|--release <arg>           Extension release version (REQUIRED)
 
+## Rebuilding
+
+       $ make -C vendor/m6w6/pharext