From cf808531caad33b437bb2d230a0ebf3ab8364183 Mon Sep 17 00:00:00 2001 From: lsmith Date: Fri, 1 Feb 2008 16:41:16 +0000 Subject: [PATCH] - reworked ingores to includes --- package_Core.php | 92 ++++++++++++-------------------------------- package_DBAL.php | 99 ++++-------------------------------------------- package_ORM.php | 77 +++++++++++-------------------------- 3 files changed, 55 insertions(+), 213 deletions(-) diff --git a/package_Core.php b/package_Core.php index cb59203fd..ca16edce6 100644 --- a/package_Core.php +++ b/package_Core.php @@ -30,73 +30,31 @@ $options = array( 'packagedirectory' => './', 'packagefile' => $packagefile, 'clearcontents' => false, - 'ignore' => array( - 'vendor/', - 'tools/', - 'package*.php', - 'package*.xml', - 'models/', - 'Access.php', - 'Adapter.php', - 'Adapter/', - 'Auditlog.php', - 'Auditlog/', - 'Cache.php', - 'Cache/', - 'Collection.php', - 'Collection/', - 'Column.php', - 'Connection.php', - 'Connection/', - 'DataDict.php', - 'DataDict/', - 'Export.php', - 'Export/', - 'Expression.php', - 'Expression/', - 'Hook.php', - 'Hook/', - 'Hydrator.php', - 'Hydrator/', - 'I18n.php', - 'I18n/', - 'Import.php', - 'Import/', - 'IntegrityMapper.php', - 'Locking/', - 'Manager.php', - 'Manager/', - 'Mapper/', - 'Migration.php', - 'Migration/', - 'Node.php', - 'Node/', - 'Pager.php', - 'Pager/', - 'Query.php', - 'Query/', - 'RawSql.php', - 'RawSql/', - 'Record.php', - 'Record/', - 'Relation.php', - 'Relation/', - 'Search.php', - 'Search/', - 'Sequence.php', - 'Sequence/', - 'Table.php', - 'Table/', - 'Template.php', - 'Template/', - 'Transaction.php', - 'Transaction/', - 'Tree.php', - 'Tree/', - 'Validator.php', - 'Validator/', - 'View.php', - 'View/', + 'include' => array( + 'manual/', + 'tests/', + 'lib/Doctrine.php', + 'lib/Doctrine/Builder/', + 'lib/Doctrine/Cli.php', + 'lib/Doctrine/Compiler/', + 'lib/Doctrine/Configurable/', + 'lib/Doctrine/Cli.php', + 'lib/Doctrine/Data/', + 'lib/Doctrine/Exception/', + 'lib/Doctrine/Event/', + 'lib/Doctrine/EventListener/', + 'lib/Doctrine/File/', + 'lib/Doctrine/FileFinder/', + 'lib/Doctrine/Formatter/', + 'lib/Doctrine/Inflector/', + 'lib/Doctrine/Lib.php', + 'lib/Doctrine/Locator/', + 'lib/Doctrine/Log/', + 'lib/Doctrine/Null/', + 'lib/Doctrine/Overloadable/', + 'lib/Doctrine/Parser/', + 'lib/Doctrine/Task/', + 'lib/Doctrine/Util/', ), 'dir_roles' => array( 'lib' => 'php', diff --git a/package_DBAL.php b/package_DBAL.php index 688645912..61f88b43e 100644 --- a/package_DBAL.php +++ b/package_DBAL.php @@ -29,97 +29,14 @@ $options = array( 'packagedirectory' => './', 'packagefile' => $packagefile, 'clearcontents' => false, - 'ignore' => array( - 'vendor/', - 'tools/', - 'package*.php', - 'package*.xml', - 'manual/', - 'models/', - 'tests/', - 'README', - 'CHANGELOG', - 'LICENSE', - 'COPYRIGHT', - 'Access.php', - 'Adapter.php', - 'Adapter/', - 'Auditlog.php', - 'Auditlog/', - 'Builder.php', - 'Builder/', - 'Cache.php', - 'Cache/', - 'Cli.php', - 'Cli/', - 'Collection.php', - 'Collection/', - 'Column.php', - 'Compiler.php', - 'Compiler/', - 'Configurable.php', - 'Data.php', - 'Data/', - 'Event.php', - 'Event/', - 'EventListener.php', - 'EventListener/', - 'Exception.php', - 'Expression.php', - 'Expression/', - 'File.php', - 'File/', - 'FileFinder.php', - 'FileFinder/', - 'Formatter.php', - 'Hook.php', - 'Hook/', - 'Hydrator.php', - 'Hydrator/', - 'I18n.php', - 'I18n/', - 'Inflector.php', - 'IntegrityMapper.php', - 'Lib.php', - 'Locator.php', - 'Locator/', - 'Locking/', - 'Log.php', - 'Log/', - 'Mapper/', - 'Migration.php', - 'Migration/', - 'Node.php', - 'Node/', - 'Null.php', - 'Overloadable.php', - 'Pager.php', - 'Pager/', - 'Parser.php', - 'Parser/', - 'Query.php', - 'Query/', - 'RawSql.php', - 'RawSql/', - 'Record.php', - 'Record/', - 'Relation.php', - 'Relation/', - 'Search.php', - 'Search/', - 'Table.php', - 'Table/', - 'Task.php', - 'Task/', - 'Template.php', - 'Template/', - 'Tree.php', - 'Tree/', - 'Util.php', - 'Validator.php', - 'Validator/', - 'View.php', - 'View/', + 'include' => array( + 'lib/Doctrine/Connection/', + 'lib/Doctrine/DataDict/', + 'lib/Doctrine/Export/', + 'lib/Doctrine/Import/', + 'lib/Doctrine/Manager/', + 'lib/Doctrine/Sequences/', + 'lib/Doctrine/Transaction/', ), 'dir_roles' => array( 'lib' => 'php', diff --git a/package_ORM.php b/package_ORM.php index 671d131fe..dd8db87c6 100644 --- a/package_ORM.php +++ b/package_ORM.php @@ -33,61 +33,28 @@ $options = array( 'packagedirectory' => './', 'packagefile' => $packagefile, 'clearcontents' => false, - 'ignore' => array( - 'vendor/', - 'tools/', - 'package*.php', - 'package*.xml', - 'manual/', - 'tests/', - 'README', - 'CHANGELOG', - 'LICENSE', - 'COPYRIGHT', - 'Builder.php', - 'Builder/', - 'Cli.php', - 'Cli/', - 'Compiler.php', - 'Compiler/', - 'Configurable.php', - 'Connection.php', - 'Connection/', - 'Data.php', - 'Data/', - 'Event.php', - 'Event/', - 'EventListener.php', - 'EventListener/', - 'Exception.php', - 'Export.php', - 'Export/', - 'File.php', - 'File/', - 'FileFinder.php', - 'FileFinder/', - 'Formatter.php', - 'Import.php', - 'Import/', - 'Inflector.php', - 'Lib.php', - 'Locator.php', - 'Locator/', - 'Log.php', - 'Log/', - 'Mapper/', - 'Manager.php', - 'Manager/', - 'Null.php', - 'Parser.php', - 'Parser/', - 'Sequence.php', - 'Sequence/', - 'Task.php', - 'Task/', - 'Transaction.php', - 'Transaction/', - 'Util.php', + 'include' => array( + 'models/', + 'lib/Doctrine/Adapter/', + 'lib/Doctrine/Auditlog/', + 'lib/Doctrine/Cache/', + 'lib/Doctrine/Collection/', + 'lib/Doctrine/Column/', + 'lib/Doctrine/Hook/', + 'lib/Doctrine/Hydrator/', + 'lib/Doctrine/I18n/', + 'lib/Doctrine/Locking/', + 'lib/Doctrine/Mapper/', + 'lib/Doctrine/Migration/', + 'lib/Doctrine/Node/', + 'lib/Doctrine/Query/', + 'lib/Doctrine/RawSql/', + 'lib/Doctrine/Search/', + 'lib/Doctrine/Table/', + 'lib/Doctrine/Template/', + 'lib/Doctrine/Tree/', + 'lib/Doctrine/Validator/', + 'lib/Doctrine/View/', ), 'dir_roles' => array( 'lib' => 'php',