Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added compile doctrine task

  • Loading branch information...
commit 3201512580388c71e2b50f86e5a55121fdeb7dbd 1 parent c85d03d
@everzet authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.