[macruby-changes] [1329] MacRuby/branches/experimental/rakelib/rubyspec.rake

source_changes at macosforge.org source_changes at macosforge.org
Sat Apr 4 06:50:48 PDT 2009


Revision: 1329
          http://trac.macosforge.org/projects/ruby/changeset/1329
Author:   eloy.de.enige at gmail.com
Date:     2009-04-04 06:50:48 -0700 (Sat, 04 Apr 2009)
Log Message:
-----------
Moved remove_upstream rake task into upstream namespace.

Modified Paths:
--------------
    MacRuby/branches/experimental/rakelib/rubyspec.rake

Modified: MacRuby/branches/experimental/rakelib/rubyspec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/rubyspec.rake	2009-04-04 13:50:14 UTC (rev 1328)
+++ MacRuby/branches/experimental/rakelib/rubyspec.rake	2009-04-04 13:50:48 UTC (rev 1329)
@@ -90,16 +90,16 @@
           sh create_patches
         end
       end
-    end
 
-    desc "Remove the `#{UPSTREAM_OPTIONS[:branch]}' branch and switch to the `master' branch (cleans all untracked files!)"
-    task :remove_upstream do
-      puts "\nRemoving the `#{UPSTREAM_OPTIONS[:branch]}' branch and all untracked files!"
-      Dir.chdir spec_ruby do
-        sh "git clean -f"
-        sh "git checkout ."
-        git_checkout('master')
-        sh "git branch -D #{UPSTREAM_OPTIONS[:branch]}"
+      desc "Remove the `#{UPSTREAM_OPTIONS[:branch]}' branch and switch to the `master' branch (cleans all untracked files!)"
+      task :remove do
+        puts "\nRemoving the `#{UPSTREAM_OPTIONS[:branch]}' branch and all untracked files!"
+        Dir.chdir spec_ruby do
+          sh "git clean -f"
+          sh "git checkout ."
+          git_checkout('master')
+          sh "git branch -D #{UPSTREAM_OPTIONS[:branch]}"
+        end
       end
     end
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090404/ce56e1ce/attachment.html>


More information about the macruby-changes mailing list