public
Description: a humane, eval-safe templating system using Hpricot
Homepage:
Clone URL: git://github.com/mattly/hpreserve.git
Click here to lend your support to: hpreserve and make a donation at www.pledgie.com !
hpreserve / Rakefile
100644 40 lines (31 sloc) 0.991 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
require "rake"
require "rake/gempackagetask"
Dir['tasks/**/*.rake'].each { |rake| load rake }
 
desc "Run the specs."
task :default => :spec
 
spec = Gem::Specification.new do |s|
  s.name = 'hpreserve'
  s.version = '0.2.1'
  s.summary = "eval-safe HTML templates using HTML"
  s.description = "A humane, eval-safe HTML templating system expressed in HTML."
 
  s.author = "Matthew Lyon"
  s.email = "matt@flowerpowered.com"
  s.homepage = "http://github.com/mattly/hpreserve"
  
  # code
  s.require_path = "lib"
  s.files = %w( README.mkdn Rakefile ) + Dir["{spec,lib}/**/*"]
 
  # rdoc
  s.has_rdoc = false
 
  # Dependencies
  s.add_dependency "hpricot", [">= 0.6.0"]
  
  # Requirements
  s.required_ruby_version = ">= 1.8.6"
  
  s.platform = Gem::Platform::RUBY
end
 
desc "create .gemspec file (useful for github)"
task :gemspec do
  filename = "#{spec.name}.gemspec"
  File.open(filename, "w") do |f|
    f.puts spec.to_ruby
  end
end