Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
@wycats
14 lines (10 sloc) 0.351 kB
require "bundler"
Bundler.setup
require "rspec/core/rake_task"
Rspec::Core::RakeTask.new(:spec)
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.