blob: 351d66bd12d81a6639425225d838019c3c22343c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require 'bundler'
Bundler::GemHelper.install_tasks
specname = "arel.gemspec"
deps = `git ls-files`.split("\n") - [specname]
file specname => deps do
files = `git ls-files`.split("\n") - ["#{specname}.erb"]
require 'erb'
File.open specname, 'w:utf-8' do |f|
f.write ERB.new(File.read("#{specname}.erb")).result(binding)
end
end
|