Commit graph

21 commits

Author SHA1 Message Date
AD7six
b2142df2bc adding a newline before all comment blocks 2009-07-24 21:18:37 +02:00
mark_story
19eca9003d Adding ability to generate fixtures from data in app tables, with custom conditions. Test cases added. 2009-07-21 00:00:39 -04:00
mark_story
10f5ae22a9 Adding prompt for supplying custom conditions for fixture. 2009-07-20 00:59:18 -04:00
mark_story
2ab3986d14 Removing extra ; from generated code. 2009-07-17 16:00:44 -04:00
mark_story
ad3e5f43e0 Removing newlines in files.
Adding and update bake.test to bake group test.
Fixing doc blocks.
2009-07-16 23:55:41 -04:00
mark_story
dc98184086 Updating Shell and Bake tasks to use App::path() instead of Configure::read(). 2009-07-06 23:11:57 -04:00
mark_story
544188197d Fixing use of TemplateTask in other Tasks. Updating bake.group. 2009-07-01 00:50:38 -04:00
mark_story
84a496083f Adding proper -plugin parameter handling
Fixtures can now be baked into plugins.
Adding test cases.
2009-06-06 20:03:04 -04:00
mark_story
03e7ca71b6 Reformatting help() 2009-05-30 00:46:25 -04:00
mark_story
a38233e75d Updating FixtureTask and FixtureTask test to use TemplateTask 2009-05-12 21:26:37 -04:00
mark_story
3ea2b5a87d Moving CodeGenerator class into bake shell.
Updating FixtureTask and test cases.
Updating template for fixtures.
2009-05-10 22:16:38 -04:00
mark_story
a6d16500a9 Adding CodeGenerator in a temporary place. 2009-05-10 13:33:52 -04:00
mark_story
fd5b422357 Fixing error when no connection is specified and
bake fixture Foo is used.
2009-05-07 23:59:43 -04:00
mark_story
f4dc4bc1ed Adding test cases to FixtureTask.
Removing useless param.
2009-05-04 23:08:15 -04:00
mark_story
e21cc3db72 Adding test cases for bake()
Adding support for -connection param
Adding partial support for -plugin param
Separating file writing and code generation functions.
Updating help()
2009-05-03 21:43:22 -04:00
mark_story
40ebdf8aac Adding fixture all command.
Fixing errors with maxlength and timestamp fields
Adding return for ModelTask::listAll()
2009-04-29 22:50:43 -04:00
mark_story
d3fe3d5959 Adding fixture <name> baking 2009-04-29 22:42:11 -04:00
mark_story
2b87be1d7c Updating FixtureTask help
Adding test case for FixtureTask
2009-04-29 22:40:49 -04:00
mark_story
0b2232d05a Updating fixture task. Refactored methods.
Multiple rows can now be generated.
2009-04-29 20:52:12 -04:00
mark_story
0b40e5c709 Refactoring out to use DbConfig::getConfig
Continuing fixture bake
2009-04-28 20:45:07 -04:00
mark_story
b5cc69c37c Adding Fixture task to bake. 2009-04-28 20:32:15 -04:00