Sha256: 73028f9b3b7d1c9b18d8f6f0b3214e2a19bcee2c6f146c3f7e4e0621e3a82cc9

Contents?: true

Size: 1003 Bytes

Versions: 2

Compression:

Stored size: 1003 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.setup

require 'rake'
require 'rspec/core/rake_task'
require 'rake/rdoctask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name     = "machinist"
    gem.summary  = "Fixtures aren't fun. Machinist is."
    gem.email    = "pete@notahat.com"
    gem.homepage = "http://github.com/notahat/machinist"
    gem.authors  = ["Pete Yandell"]
    gem.has_rdoc = false
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end


RSpec::Core::RakeTask.new

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.rcov = true
  spec.rcov_opts = ['--exclude', 'spec', '--exclude', '.rvm']
end

desc 'Run the specs.'
task :default => :spec


Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'doc'
  rdoc.title    = 'Machinist'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('lib')
end

task :notes do
   system "grep -n -r 'FIXME\\|TODO' lib spec"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
machinist-2.0.0.beta2 Rakefile
machinist-2.0.0.beta1 Rakefile