Permalink
Browse files

Merge branch 'master' of git://github.com/mikehale/capistrano-ext int…

…o mikehale/master
  • Loading branch information...
2 parents 662d0d7 + 0722f3d commit 8daccb321fb318f69ba43c9be8ad95a10fb93ce4 @jamis jamis committed Aug 26, 2008
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/capistrano/ext/multistage.rb
@@ -17,6 +17,12 @@
end
end
+ on :load do
+ unless stages.include?(ARGV.first) # don't need to do anything if stage was specified
+ find_and_execute_task(default_stage) if exists?(:default_stage)
+ end
+ end
+
namespace :multistage do
desc "[internal] Ensure that a stage has been selected."
task :ensure do

0 comments on commit 8daccb3

Please sign in to comment.