mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Use gem extensions to freeze Haml root on install
This commit is contained in:
parent
fa51997970
commit
bb43b1304b
2 changed files with 4 additions and 0 deletions
3
ext/extconf.rb
Normal file
3
ext/extconf.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
File.open('Makefile', 'w') do |f|
|
||||
f.puts("install:\n\trake freeze_root")
|
||||
end
|
|
@ -47,6 +47,7 @@ HAML_GEMSPEC = Gem::Specification.new do |spec|
|
|||
spec.files = FileList['rails/init.rb', 'lib/**/*', 'vendor/**/*',
|
||||
'bin/*', 'test/**/*', 'extra/**/*', 'Rakefile', 'init.rb',
|
||||
'.yardopts'].to_a + readmes
|
||||
spec.extensions = ['ext/extconf.rb']
|
||||
spec.homepage = 'http://haml-lang.com/'
|
||||
spec.has_rdoc = true
|
||||
spec.extra_rdoc_files = readmes
|
||||
|
|
Loading…
Add table
Reference in a new issue