support for positional args
[pharext/pharext] / Makefile
index 41b8041305a66b4df0e894173db7312bb87c0e29..887b82d974f9a534bc7718cdb0fa9b3c86507f9a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 
 all: bin/pharext
 
-bin/pharext: src/* src/pharext/* src/pharext/*/*
+bin/pharext: src/* src/pharext/* src/pharext/*/* src/pharext/*/*/*
        @echo "Linting changed source files ... "
        @for file in $?; do php -l $$file | sed -ne '/^No syntax errors/!p' && exit $${PIPESTATUS[0]}; done
        @echo "Creating bin/pharext ... "
@@ -28,4 +28,9 @@ release:
        cp build/Metadata.php.in src/pharext/Metadata.php && \
        git ci -am "back to dev"
 
+archive-test: bin/pharext
+       ./bin/pharext -vpgs ../apfd.git
+       -../php-5.5/sapi/cli/php ./apfd-1.0.1.ext.phar
+       -./apfd-1.0.1.ext.phar
+
 .PHONY: all clean test release