public
Description: The Lightweight Static Content framework
Homepage: http://www.staticmatic.net
Clone URL: git://github.com/staticmatic/staticmatic.git
staticmatic / Rakefile
100644 32 lines (26 sloc) 1.045 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
require "rubygems"
require 'spec/rake/spectask'
 
require File.dirname(__FILE__) + '/lib/staticmatic'
 
begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "staticmatic"
    gem.executables = "staticmatic"
    gem.summary = "Lightweight Static Site Framework"
    gem.email = "steve@curve21.com"
    gem.homepage = "http://staticmatic.net"
    gem.description = "Lightweight Static Site Framework"
    gem.authors = ["Stephen Bartholomew"]
    gem.rubyforge_project = "staticmatic"
    
    gem.files = FileList["[A-Z]*", "{bin,lib,spec}/**/*"]
    
    gem.add_dependency("haml", ">=2.0.0")
    gem.add_dependency("mongrel", ">=1.1.5")
  end
rescue LoadError
  puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gemgem.github.com"
end
 
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
  # spec.spec_opts = ['--options', 'spec/spec.opts']
end