Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add github task to aid in migration

  • Loading branch information...
commit 6ea4f497f3733c6a54bfbf3fb7025f41dcd0a1c6 1 parent cd104c1
@evanphx evanphx authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 Rakefile
View
11 Rakefile
@@ -100,6 +100,17 @@ task :default => %w[build vm:test] do
sh "bin/mspec ci --background --agent"
end
+task :github do
+ cur = `git config remote.origin.url`.strip
+ if cur == "git://github.com/evanphx/rubinius.git"
+ sh "git config remote.origin.url git://github.com/rubinius/rubinius.git"
+ puts "\nSwitch to git://github.com/rubinius/rubinius.git"
+ else
+ sh "git config remote.origin.url git@github.com:rubinius/rubinius.git"
+ puts "\nSwitch to github.com:rubinius/rubinius.git"
+ end
+end
+
# See vm.rake for more information
desc "Build everything that needs to be built at default level."
task :build => ["build:build", "gem_bootstrap"]
Please sign in to comment.
Something went wrong with that request. Please try again.