kstrano 0.0.37 → 0.0.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/kstrano.rb +10 -6
  2. 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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kstrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.37
4
+ version: 0.0.38
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: