Skip to content

Commit

Permalink
Merge pull request #58 from grahamc/patch-1
Browse files Browse the repository at this point in the history
Separate propel build steps to reduce chances of memory limit issues.
  • Loading branch information
everzet committed Oct 9, 2011
2 parents 436eeb3 + ae6bd6d commit 005e594
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/symfony1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,9 @@ def load_database_config(data, env)

desc "Generate model lib form and filters classes based on your schema"
task :build_classes do
run "php #{latest_release}/symfony propel:build --all-classes --env=#{symfony_env_prod}"
run "php #{latest_release}/symfony propel:build --model --env=#{symfony_env_prod}"
run "php #{latest_release}/symfony propel:build --forms --env=#{symfony_env_prod}"
run "php #{latest_release}/symfony propel:build --filters --env=#{symfony_env_prod}"
end

desc "Generate code & database based on your schema"
Expand Down

0 comments on commit 005e594

Please sign in to comment.