Browse files

added compile doctrine task

  • Loading branch information...
1 parent c85d03d commit 3201512580388c71e2b50f86e5a55121fdeb7dbd @everzet committed Sep 23, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/capifony.rb
View
5 lib/capifony.rb
@@ -287,6 +287,11 @@ def load_database_config(data, env)
end
namespace :doctrine do
+ desc "Compile doctrine"
+ task :compile do
+ run "#{php_bin} #{latest_release}/symfony doctrine:compile"
+ end
+
desc "Ensure Doctrine is correctly configured"
task :setup do
conf_files_exists = capture("if test -s #{shared_path}/config/databases.yml ; then echo 'exists' ; fi").strip

0 comments on commit 3201512

Please sign in to comment.