From cb4a35c774767a175d035cec51d48abaf350bd14 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 4 Mar 2015 18:20:34 +0100 Subject: [PATCH] update with suggestions from beberlei --- .gitignore | 4 ++-- README.md | 11 +++++++---- bin/.gitkeep | 0 bin/pharext | Bin 0 -> 29758 bytes composer.json | 5 +---- 5 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 bin/.gitkeep create mode 100755 bin/pharext diff --git a/.gitignore b/.gitignore index 7a63b84..623b451 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ .buildpath .project .settings/ -bin/pharext +nbproject/ *~ *.tmp *.phar *.phar.gz -*.phar.bz2 +*.phar.bz2 \ No newline at end of file diff --git a/README.md b/README.md index feb30a0..017da75 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ A network connection is not needed. ## Installation for extension maintainers - $ composer require m6w6/pharext + $ composer require --dev m6w6/pharext ### Prerequisites: @@ -68,7 +68,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 +79,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,7 +104,7 @@ Yields: Command help: - $ ./bin/pharext --help + $ ./vendor/bin/pharext --help Yields: @@ -122,3 +122,6 @@ Yields: -n|--name Extension name (REQUIRED) -r|--release Extension release version (REQUIRED) +## Rebuilding + + $ make -C vendor/m6w6/pharext diff --git a/bin/.gitkeep b/bin/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/bin/pharext b/bin/pharext new file mode 100755 index 0000000000000000000000000000000000000000..531e2510e18cb147f8f4e5b168f604d604f478ba GIT binary patch literal 29758 zcmeHwO^h4acAgx>NV=0Cd2k-=7zqmEiqaLXxHAYg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{{^KDY|vUxT!d+4m}TYi2dv2{6P=2|-lUsv-KU?f>k3NtK*kkzF6VF<(j)4W zvwYU^8t}uO8GME82VRO`vRjU-6U#OWb{p2_d<0NYM)Q_jp4qqLbGvoRTxt0xsM*i@(^SWYpULum9$2rJv!QNhtndjYu`S zF`)vXY=g)FdaP9sb>kYjhx(C%M0PB%-5BllkD#7|BFj~q@d z-aUZsW29zAbw<3hC>QlAF1k6>&hE{<*9&7@uH!KGq>xrJc_X*mdO!jddfGSZ?W>YY z?s{bh^}^d;xzsUTwIox#x8TN?bkDJIvOuOV!E&EM6UJHb&X?-XIkRas97^5vewoS~ zku&nw*uBDmG~+|I+MZyu*i_&aFO}vjuk7-G^2h(9TVi(QoduD0gC1`O!K?dFO*B1~ zdJHHLd%+xSt3>49a%QHtTJ32X^C~r7A|WE(7~TCFNDw>xN5N3(TY2`ZMFwojElRu< zfZm3@%^B}~xA)hAZE5kE758kOy5ud$v^Pbct)-mFSpKmZ zDZ}=dUo!JCv#qbOP`t#IX!D{tKAeG$yP`LnSE50NZIJ{AYFEj>!Qzap$y@@=dAalQ q!}{<1r$7GjSHJUr_WtBo{`60O`G5Y~fAhO5co*`G2VXw^@~;3r#L=_> literal 0 HcmV?d00001 diff --git a/composer.json b/composer.json index 8f8ab64..a47fb0b 100644 --- a/composer.json +++ b/composer.json @@ -4,8 +4,5 @@ "keywords": ["ext", "extension", "phar", "package", "install"], "type": "project", "license": "BSD-2-Clause", - "bin": ["bin/pharext"], - "scripts": { - "pre-install-cmd": "make -s" - } + "bin": ["bin/pharext"] } -- 2.30.2