capimeria 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/capimeria +6 -2
- data/lib/capimeria_symfony2.rb +6 -1
- metadata +2 -2
data/bin/capimeria
CHANGED
|
@@ -102,8 +102,12 @@ else
|
|
|
102
102
|
FILE
|
|
103
103
|
|
|
104
104
|
files["#{config_path}/deploy.rb"] = unindent(<<-FILE)
|
|
105
|
-
set :app_path,
|
|
106
|
-
set :model_manager,
|
|
105
|
+
set :app_path, "#{symfony_app_path}"
|
|
106
|
+
set :model_manager, "doctrine"
|
|
107
|
+
set :update_vendors, true
|
|
108
|
+
|
|
109
|
+
set :shared_files, ["app/config/custom.yml"]
|
|
110
|
+
set :shared_children, [app_path + "/logs", web_path + "/media", "vendor", web_path + "/system"]
|
|
107
111
|
FILE
|
|
108
112
|
else
|
|
109
113
|
config_path = "config"
|
data/lib/capimeria_symfony2.rb
CHANGED
|
@@ -24,7 +24,12 @@ namespace :deploy do
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
namespace :symfony do
|
|
27
|
-
|
|
27
|
+
namespace :vendors do
|
|
28
|
+
desc "Runs the bin/vendors script to update the vendors"
|
|
29
|
+
task :update do
|
|
30
|
+
run "cd #{latest_release} && #{php_bin} bin/vendors install"
|
|
31
|
+
end
|
|
32
|
+
end
|
|
28
33
|
namespace :cache do
|
|
29
34
|
desc "Clears project cache."
|
|
30
35
|
task :clear do
|