Sha256: 49b5f7919cfa0b1114338278193a7e5cf94ce6f23746b6d934d4c316e12b3d3f

Contents?: true

Size: 1.04 KB

Versions: 16

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.1')
    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

16 entries across 16 versions & 1 rubygems

Version Path
ruhl-1.3.5 Rakefile
ruhl-1.3.4 Rakefile
ruhl-1.3.3 Rakefile
ruhl-1.3.2 Rakefile
ruhl-1.3.1 Rakefile
ruhl-1.3.0 Rakefile
ruhl-1.2.0 Rakefile
ruhl-1.1.1 Rakefile
ruhl-1.1.0 Rakefile
ruhl-1.0.0 Rakefile
ruhl-0.26.1 Rakefile
ruhl-0.26.0 Rakefile
ruhl-0.25.0 Rakefile
ruhl-0.24.0 Rakefile
ruhl-0.23.0 Rakefile
ruhl-0.22.0 Rakefile