Sha256: ea66a1bb3c6d6b0c46e76df6379c135f0d762cdc17143546850ef9136b9b7e6f

Contents?: true

Size: 1.29 KB

Versions: 14

Compression:

Stored size: 1.29 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "hx"
    gem.executables << 'hx'
    gem.summary = %Q{A miniature static site generator.}
    gem.description = <<EOS
Hx is a simple static site generator in the spirit of Hobix which reads a
YAML configuration file, constructs a filter graph, and generates output
files.
EOS
    gem.email = "mental@rydia.net"
    gem.homepage = "http://github.com/mental/hx"
    gem.authors = ["MenTaLguY"]
    gem.add_development_dependency "rspec", ">= 2.0.0"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.rspec_opts = "--color"
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.rspec_opts = "--color"
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "hx #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hx-0.21.0 Rakefile
hx-0.20.0 Rakefile
hx-0.19.0 Rakefile
hx-0.18.0 Rakefile
hx-0.17.0 Rakefile
hx-0.16.0 Rakefile
hx-0.15.0 Rakefile
hx-0.14.0 Rakefile
hx-0.13.0 Rakefile
hx-0.12.0 Rakefile
hx-0.11.0 Rakefile
hx-0.10.0 Rakefile
hx-0.9.0 Rakefile
hx-0.8.4 Rakefile