Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 370 Bytes
require "bundler"
Bundler.setup
# require "rspec/core/rake_task"
# Rspec::Core::RakeTask.new(:spec)
gemspec = eval(File.read("split-app.gemspec"))
task :build => "#{gemspec.full_name}.gem"
file "#{gemspec.full_name}.gem" => gemspec.files + ["split-app.gemspec"] do
system "gem build split-app.gemspec"
system "gem install split-app-#{SplitApp::VERSION}.gem"
end