From: Michael Wallner Date: Wed, 4 Mar 2015 17:20:34 +0000 (+0100) Subject: update with suggestions from beberlei X-Git-Tag: v1.0.1~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=cb4a35c774767a175d035cec51d48abaf350bd14;p=pharext%2Fpharext update with suggestions from beberlei --- 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 0000000..531e251 Binary files /dev/null and b/bin/pharext differ 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"] }