Sha256: 02b8793e0091e104da9d4ffdbf0bc00827e84c37cf8df273848a06d86155d5b4

Contents?: true

Size: 480 Bytes

Versions: 7

Compression:

Stored size: 480 Bytes

Contents

require 'rubygems'
require 'bundler/gem_tasks'

def run(*args)
  raise "tests failed" unless system *args
end

task :default do
  run "rspec", "spec"
  ENV['USE_RAILS'] = '1'
  run "rspec", "spec"
end

begin
  require "rdoc/task"
rescue LoadError
  require 'rake/rdoctask'
end

Rake::RDocTask.new do |rdoc|
  version = GenSpec::VERSION

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "genspec #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
genspec-0.2.8 Rakefile
genspec-0.2.7 Rakefile
genspec-0.2.6 Rakefile
genspec-0.2.5 Rakefile
genspec-0.2.4 Rakefile
genspec-0.2.3 Rakefile
genspec-0.2.2 Rakefile