kstrano 0.0.31 → 0.0.32
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kstrano.rb +6 -0
- metadata +1 -1
data/lib/kstrano.rb
CHANGED
@@ -97,6 +97,12 @@ namespace :deploy do
|
|
97
97
|
deploy.restart
|
98
98
|
end
|
99
99
|
|
100
|
+
desc "Deploy without copying the vendors from a previous install and use composer option --prefer-source"
|
101
|
+
task :prefer_source, :roles => :app, :except => { :no_release => true } do
|
102
|
+
set :composer_options, "--no-scripts --verbose --prefer-source --optimize-autoloader"
|
103
|
+
deploy.clean
|
104
|
+
end
|
105
|
+
|
100
106
|
desc "Deploy without copying the vendors from a previous install"
|
101
107
|
task :clean, :roles => :app, :except => { :no_release => true } do
|
102
108
|
set :copy_vendors, false
|