Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8666fee7d5
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.446 kb
require "bundler"
Bundler.setup
require 'rake/testtask'
desc 'Test the library.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
gemspec = eval(File.read("newgem.gemspec"))
task :build => "#{gemspec.full_name}.gem"
file "#{gemspec.full_name}.gem" => gemspec.files + ["newgem.gemspec"] do
system "gem build newgem.gemspec"
system "gem install newgem-#{NewGem::VERSION}.gem"
end
Jump to Line
Something went wrong with that request. Please try again.