public
Description: Remote multi-server automation tool. This repository is no longer being actively maintained. Please ask on the mailing list to find someone who has a well-maintained fork. Thanks!
Homepage: http://www.capify.org
Clone URL: git://github.com/jamis/capistrano.git
Make sure deploy:check works with :none scm (which has no default command) [#10 
tagged:committed state:resolved]
Jamis Buck (author)
Mon May 05 20:38:09 -0700 2008
commit  0badc5bbb5e0a64e55a2e1aa4202532e72812daa
tree    13cfdf0319eb74d1ade6aae09d0ff4ee726e9cd9
parent  61808dd6e0b47e6496c6406fde512156af5899e2
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 *unreleased*
0
 
0
+* Make sure deploy:check works with :none scm (which has no default command) [Jamis Buck]
0
+
0
 * Add debug switch for enabling conditional execution of commands [Mark Imbriaco]
0
 
0
 
...
 
 
1
2
3
...
1
2
3
4
5
0
@@ -1,3 +1,5 @@
0
+require 'capistrano/errors'
0
+
0
 module Capistrano
0
   module Deploy
0
     class RemoteDependency
...
97
98
99
100
 
101
102
103
...
97
98
99
 
100
101
102
103
0
@@ -97,7 +97,7 @@ module Capistrano
0
 
0
         def check!
0
           super.check do |d|
0
-            d.local.command(source.local.command)
0
+            d.local.command(source.local.command) if source.local.command
0
             d.local.command(compress(nil, nil).first)
0
             d.remote.command(decompress(nil).first)
0
           end

Comments