Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 31 lines (23 sloc) 0.785 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
require 'rake'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'rake/clean'
require 'rubyforge'
require 'spec/rake/spectask'
require 'ci/reporter/rake/rspec'

task :default => :spec

task :bamboo => [:package, "ci:setup:rspec", :spec]

Spec::Rake::SpecTask.new

spec = eval(File.read('bits_on_the_run.gemspec'))
Rake::GemPackageTask.new(spec) do |t|
  t.need_tar = false
end

Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_files += ['README.rdoc', 'CHANGELOG', 'MIT-LICENSE', 'lib/bits_on_the_run.rb']
end

desc "Package and upload the release to RubyForge"
task :release => [:clobber, :package] do
  rubyforge = RubyForge.new.configure
  rubyforge.login
  rubyforge.add_release spec.rubyforge_project, spec.name, spec.version.to_s, "pkg/#{spec.name}-#{spec.version}.gem"
end

Something went wrong with that request. Please try again.