Fetching contributors…
Cannot retrieve contributors at this time
44 lines (41 sloc) 1.68 KB
require 'rubygems'
require 'rake'
HAML_GEMSPEC = do |spec|
spec.rubyforge_project = = 'haml'
spec.summary = "An elegant, structured XHTML/XML templating engine.\nComes with Sass, a similar CSS templating engine."
spec.version ='VERSION').strip
spec.authors = ['Nathan Weizenbaum', 'Hampton Catlin'] = ''
spec.description = <<-END
Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or XML
that's designed to express the structure of XHTML or XML documents
in a non-repetitive, elegant, easy way,
using indentation rather than closing tags
and allowing Ruby to be embedded with ease.
It was originally envisioned as a plugin for Ruby on Rails,
but it can function as a stand-alone templating engine.
# We need the revision file to exist,
# so we just create it if it doesn't.
# It'll usually just get overwritten, though.'REVISION', 'w') { |f| f.puts "(unknown)" } unless File.exist?('REVISION')
readmes ='*') do |list|
spec.executables = ['haml', 'html2haml', 'sass', 'css2sass']
spec.files = FileList['rails/init.rb', 'lib/**/*', 'bin/*', 'test/**/*', 'Rakefile', 'init.rb'].to_a + readmes
spec.homepage = ''
spec.has_rdoc = true
spec.extra_rdoc_files = readmes
spec.rdoc_options += [
'--title', 'Haml',
'--main', 'README.rdoc',
'--exclude', 'lib/haml/buffer.rb',
spec.test_files = FileList['test/**/*_test.rb'].to_a