Sha256: bcc9b581400b74d6748b2e461499f77b9c63fbeb6a53e92cbd9585d2ab95bc42

Contents?: true

Size: 1.04 KB

Versions: 11

Compression:

Stored size: 1.04 KB

Contents

require 'rubygems'
require 'rake'
require 'rcov'
require 'spec/rake/spectask'

task :default => 'rcov'

desc "Run all specs and rcov in a non-sucky way"
Spec::Rake::SpecTask.new(:rcov) do |t|
  t.spec_opts = IO.readlines("spec/spec.opts").map {|l| l.chomp.split " "}.flatten
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.rcov = true
  t.rcov_opts = IO.readlines("spec/rcov.opts").map {|l| l.chomp.split " "}.flatten
end


begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "ruhl"
    gemspec.summary = "Ruby Hypertext Language"
    gemspec.description = "Make your HTML dynamic with the addition of a data-ruhl attribute."
    gemspec.email = "andy@stonean.com"
    gemspec.homepage = "http://github.com/stonean/ruhl"
    gemspec.authors = ["Andrew Stone"]
    gemspec.add_dependency('nokogiri','=1.4.0')
    gemspec.add_development_dependency('rspec')
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ruhl-0.21.0 Rakefile
ruhl-0.20.0 Rakefile
ruhl-0.19.0 Rakefile
ruhl-0.18.0 Rakefile
ruhl-0.17.0 Rakefile
ruhl-0.16.0 Rakefile
ruhl-0.15.0 Rakefile
ruhl-0.14.0 Rakefile
ruhl-0.13.0 Rakefile
ruhl-0.12.1 Rakefile
ruhl-0.12.0 Rakefile