From de289237fb227b373274fc6a029cddfbed9f802a Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 12 Mar 2014 06:42:10 +0100 Subject: Remove manual phar building scripts --- bin/makephar.php | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100755 bin/makephar.php (limited to 'bin/makephar.php') diff --git a/bin/makephar.php b/bin/makephar.php deleted file mode 100755 index 13c1acd..0000000 --- a/bin/makephar.php +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env php -startBuffering(); - -// add all files in the project -$phar->buildFromDirectory( - realpath(__DIR__ . '/../'), - '#' - . '^' . preg_quote(realpath(__DIR__ . '/../'), '#') - . '/(data/bdrem.config.php.dist|lib/|src/bdrem/|www/|README\.rst)' - . '#' -); - -//remove shebang from bin/bdrem.php -$bin = file_get_contents(__DIR__ . '/../bin/bdrem.php'); -$phar->addFromString('bin/bdrem.php', substr($bin, strpos($bin, "\n") + 1)); - -$phar->setStub(file_get_contents(__DIR__ . '/../src/phar-stub.php')); -$phar->stopBuffering(); -?> -- cgit v1.2.3