Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.347 kb
require 'rake/testtask'
Rake::TestTask.new do |t|
t.test_files = FileList['test/*_test.rb']
end
def built_gem_name
Dir.glob('rbbcode-*.*.*.gem').first
end
task :build do
`rm *.gem`
puts `gem build rbbcode.gemspec`
end
task :install do
puts `gem install #{built_gem_name}`
end
task :release do
puts `gem push #{built_gem_name}`
end
Jump to Line
Something went wrong with that request. Please try again.