Merge pull request #159 from majna/2.0-plugin-task

Fix for lowercased schema folder when baking plugin skel.
This commit is contained in:
José Lorenzo Rodríguez 2011-07-28 10:14:21 -07:00
commit dbcdbbb64f
2 changed files with 2 additions and 2 deletions

View file

@ -98,7 +98,7 @@ class PluginTask extends Shell {
if (strtolower($looksGood) == 'y') { if (strtolower($looksGood) == 'y') {
$Folder = new Folder($this->path . $plugin); $Folder = new Folder($this->path . $plugin);
$directories = array( $directories = array(
'Config' . DS . 'schema', 'Config' . DS . 'Schema',
'Model' . DS . 'Behavior', 'Model' . DS . 'Behavior',
'Model' . DS . 'Datasource', 'Model' . DS . 'Datasource',
'Console' . DS . 'Command' . DS . 'Task', 'Console' . DS . 'Command' . DS . 'Task',

View file

@ -86,7 +86,7 @@ class PluginTaskTest extends CakeTestCase {
$this->assertTrue(is_dir($path), 'No plugin dir %s'); $this->assertTrue(is_dir($path), 'No plugin dir %s');
$directories = array( $directories = array(
'Config' . DS . 'schema', 'Config' . DS . 'Schema',
'Model' . DS . 'Behavior', 'Model' . DS . 'Behavior',
'Model' . DS . 'Datasource', 'Model' . DS . 'Datasource',
'Console' . DS . 'Command' . DS . 'Task', 'Console' . DS . 'Command' . DS . 'Task',