Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 282 Bytes
require "bundler"
Bundler.setup
gemspec = eval(File.read("glitz.gemspec"))
task :build => "#{gemspec.full_name}.gem"
file "#{gemspec.full_name}.gem" => gemspec.files + ["glitz.gemspec"] do
system "gem build glitz.gemspec"
system "gem install glitz-#{Glitz::VERSION}.gem"
end