kstrano 0.0.37 → 0.0.38
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/lib/kstrano.rb +10 -6
- metadata +1 -1
data/lib/kstrano.rb
CHANGED
@@ -140,12 +140,6 @@ namespace :deploy do
|
|
140
140
|
deploy.restart
|
141
141
|
end
|
142
142
|
|
143
|
-
desc "Deploy without copying the vendors from a previous install and use composer option --prefer-source"
|
144
|
-
task :prefer_source, :roles => :app, :except => { :no_release => true } do
|
145
|
-
set :composer_options, "--no-scripts --verbose --prefer-source --optimize-autoloader"
|
146
|
-
deploy.clean
|
147
|
-
end
|
148
|
-
|
149
143
|
desc "Deploy without copying the vendors from a previous install"
|
150
144
|
task :clean, :roles => :app, :except => { :no_release => true } do
|
151
145
|
set :copy_vendors, false
|
@@ -153,6 +147,16 @@ namespace :deploy do
|
|
153
147
|
deploy.restart
|
154
148
|
end
|
155
149
|
|
150
|
+
namespace :prefer do
|
151
|
+
|
152
|
+
desc "Deploy without copying the vendors from a previous install and use composer option --prefer-source"
|
153
|
+
task :source, :roles => :app, :except => { :no_release => true } do
|
154
|
+
set :composer_options, "--no-scripts --verbose --prefer-source --optimize-autoloader"
|
155
|
+
deploy.clean
|
156
|
+
end
|
157
|
+
|
158
|
+
end
|
159
|
+
|
156
160
|
namespace :schema do
|
157
161
|
|
158
162
|
desc "Deploy and update the schema"
|