From: Christian Weiske Date: Thu, 6 Mar 2014 16:17:55 +0000 (+0100) Subject: phing build file to create a standalone phar package X-Git-Tag: v0.5.0~19 X-Git-Url: https://git.cweiske.de/bdrem.git/commitdiff_plain/59cd4f309a241cb2fa425519a43215bd5e81a4cf?ds=sidebyside phing build file to create a standalone phar package --- diff --git a/.gitignore b/.gitignore index b76dc57..31b728f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /data/bdrem.config.php /dist/ /lib +/bin/phar-bdrem.php diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..7118df2 --- /dev/null +++ b/build.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/phar-stub.php b/src/phar-stub.php index 326b5cf..58ee78e 100644 --- a/src/phar-stub.php +++ b/src/phar-stub.php @@ -5,7 +5,7 @@ if (!in_array('phar', stream_get_wrappers()) || !class_exists('Phar', false)) { } $web = 'www/index.php'; -$cli = 'bin/bdrem.php'; +$cli = 'bin/phar-bdrem.php'; function rewritePath($path) {