Changeset 4775
- Timestamp:
- 08/16/06 17:56:28 (2 years ago)
- Files:
-
- tools/capistrano/lib/capistrano/cli.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/capistrano/lib/capistrano/cli.rb
r4283 r4775 205 205 (Currently, --apply-to only works with Rails applications.) 206 206 DETAIL 207 #' # vim syntax highlighting fix 207 208 208 209 if args.empty? … … 227 228 # Beginning running Capistrano based on the configured options. 228 229 def execute! 229 if !@options[:recipes].empty? 230 if @options[:apply_to] 231 execute_apply_to! 232 else 230 233 execute_recipes! 231 elsif @options[:apply_to]232 execute_apply_to!233 234 end 234 235 end … … 281 282 look_for_default_recipe_file! if @options[:recipes].empty? 282 283 look_for_raw_actions! 283 abort "You must specify at least one recipe" if @options[:recipes].empty?284 284 abort "You must specify at least one action" if @options[:actions].empty? 285 285 else