Sha256: 264cc4d37b405811598331e4ae07c5af535521ecc79015d9d8abbe6f2b70b94d

Contents?: true

Size: 1.38 KB

Versions: 9

Compression:

Stored size: 1.38 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", ">= 1.2.9"
    # 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 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  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

9 entries across 9 versions & 1 rubygems

Version Path
hx-0.8.3 Rakefile
hx-0.8.2 Rakefile
hx-0.7.4 Rakefile
hx-0.7.2 Rakefile
hx-0.7.1 Rakefile
hx-0.7.0 Rakefile
hx-0.6.1 Rakefile
hx-0.6.0 Rakefile
hx-0.5.0 Rakefile