Sha256: 164fd0a5367ff60befe45478226152d919818bfcb0e962134185af563f81d69c

Contents?: true

Size: 996 Bytes

Versions: 1

Compression:

Stored size: 996 Bytes

Contents

require 'rake/testtask'
require 'rake/rdoctask'

desc "By default run all tests"
task :default => :test

Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList['test/**/*_test.rb']
  t.verbose = true
end

desc 'Generate documentation'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'On Test-spec'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name     = "on-test-spec"
    s.homepage = "http://github.com/Fingertips/on-test-spec"
    s.email    = "eloy.de.enige@gmail.com"
    s.authors  = ["Manfred Stienstra", "Eloy Duran", "Cristi Balan"]
    s.summary  = s.description = "Rails plugin to make testing Rails on test/spec easier."
  end
rescue LoadError
end

begin
  require 'jewelry_portfolio/tasks'
  JewelryPortfolio::Tasks.new do |p|
    p.account = 'Fingertips'
  end
rescue LoadError
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
on-test-spec-0.3.0 Rakefile