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 CHANGED
@@ -102,8 +102,12 @@ else
102
102
  FILE
103
103
 
104
104
  files["#{config_path}/deploy.rb"] = unindent(<<-FILE)
105
- set :app_path, "#{symfony_app_path}"
106
- set :model_manager, "doctrine"
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"
@@ -24,7 +24,12 @@ namespace :deploy do
24
24
  end
25
25
 
26
26
  namespace :symfony do
27
- # remove after nice user will deploy application not f-in root!!
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
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 7
9
- version: 0.1.7
8
+ - 8
9
+ version: 0.1.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Witold Janusik