Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added default rake task for cruisecontrol.rb

  • Loading branch information...
commit e9067307a3e161287f31c216cb01b65c8c754fb1 1 parent c92929e
@kevinrutherford kevinrutherford authored
Showing with 13 additions and 4 deletions.
  1. +2 −0  .gitignore
  2. +2 −0  Rakefile
  3. +9 −4 tasks/git.rake
View
2  .gitignore
@@ -0,0 +1,2 @@
+doc
+spec/output
View
2  Rakefile
@@ -4,3 +4,5 @@ include FileUtils
$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))
Dir['tasks/**/*.rake'].each { |rake| load rake }
+
+task :default => :spec
View
13 tasks/git.rake
@@ -1,14 +1,19 @@
-namespace :git do
+namespace 'git' do
- task :github do
+ task 'github' do
`git push origin`
end
- task :rubyforge do
+ desc 'push to bytemark for cruisecontrol build'
+ task 'bytemark' do
+ `git push bytemark`
+ end
+
+ task 'rubyforge' do
`git push rubyforge`
end
desc 'push the current master to all remotes'
- task :push => [:github, :rubyforge]
+ task 'push' => ['bytemark', 'github', 'rubyforge']
end
Please sign in to comment.
Something went wrong with that request. Please try again.