public
Description: a collection of thor commands for merb
Clone URL: git://github.com/jackdempsey/merb-thor.git
Search Repo:
only need one call to system
jackdempsey (author)
Tue Jul 15 23:28:24 -0700 2008
commit  3ed0937263b9b5db17ae0f2fadc2ebb42a0cd5d5
tree    83079bb06c4589def4811852b15039ee062950c7
parent  914495b415b6a16f288ee7ca1f4332e307ce8a93
...
23
24
25
26
27
28
29
 
 
 
 
 
 
30
31
32
...
23
24
25
 
 
 
 
26
27
28
29
30
31
32
33
34
0
@@ -23,10 +23,12 @@ class Merb < Thor
0
       end
0
     end
0
     MERB_REPOS.each do |r|
0
- FileUtils.cd(r) do
0
- system("git fetch")
0
- system("git checkout master")
0
- system("git rebase origin/master")
0
+ FileUtils.cd(r) do
0
+ system %{
0
+ git fetch
0
+ git checkout master
0
+ git rebase origin/master
0
+ }
0
       end
0
     end
0
   end

Comments

    No one has commented yet.