e11196b Oct 3, 2013
10 lines (6 sloc) 232 Bytes
require "bundler/setup"
gemspec = eval(File.read("shenzhen.gemspec"))
task :build => "#{gemspec.full_name}.gem"
file "#{gemspec.full_name}.gem" => gemspec.files + ["shenzhen.gemspec"] do
system "gem build shenzhen.gemspec"
end