Gem Rakefile from: wycats
Created
June 15, 2010 18:04
-
-
Save jhsu/439436 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment