Sha256: c7458e6fa42d664da896132378d1168548936bd63c99796da8cb8d0c12ce1f79

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 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.3.3')
    gemspec.add_development_dependency('rspec')
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruhl-0.9.4 Rakefile
ruhl-0.9.3 Rakefile
ruhl-0.9.2 Rakefile
ruhl-0.9.1 Rakefile
ruhl-0.9.0 Rakefile
ruhl-0.8.2 Rakefile
ruhl-0.8.1 Rakefile
ruhl-0.8.0 Rakefile
ruhl-0.7.0 Rakefile