From 246ea3a9f621c882e5bd28914e458da06d09f72d Mon Sep 17 00:00:00 2001 From: pomaxa Date: Fri, 15 Jun 2012 13:19:12 +0300 Subject: [PATCH] typo --- pharIt.php | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 pharIt.php diff --git a/pharIt.php b/pharIt.php deleted file mode 100644 index 5581328a..00000000 --- a/pharIt.php +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env php -setSignatureAlgorithm(Phar::SHA1); - -$phar->startBuffering(); - -$files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(__DIR__.'/src/Monolog', FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::SKIP_DOTS), RecursiveIteratorIterator::CHILD_FIRST); -foreach ($files as $file) { - if (false !== strpos($file->getRealPath(), '.git')) { - continue; - } - - $path = str_replace(realpath(__DIR__).'/', '', $file->getRealPath()); - $phar->addFile($file->getRealPath(), $path); - - echo "$path\n"; -} - -$phar->addFile('src/Monolog/Logger.php'); - -$phar->setDefaultStub('src/Monolog/Logger.php', 'Logger.php'); - -$phar->stopBuffering(); -$phar->compressFiles(Phar::GZ); - -unset($phar); \ No newline at end of file