Sha256: 2d5b2d45e8c6ae9488cafa111502359d4997b0c0fc09153968d11f88b246ec96

Contents?: true

Size: 848 Bytes

Versions: 9

Compression:

Stored size: 848 Bytes

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
begin
  require 'rdoc/task'
rescue LoadError
  require 'rdoc/rdoc'
  require 'rake/rdoctask'
  RDoc::Task = Rake::RDocTask
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Commontator'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'



Bundler::GemHelper.install_tasks

require 'rake/testtask'

Rake::TestTask.new(:spec) do |t|
  Rake::Task['app:db:test:prepare'].invoke
  t.libs << 'lib'
  t.libs << 'spec'
  t.pattern = 'spec/**/*_spec.rb'
  t.verbose = false
end


task :default => :spec

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
commontator-1.1.1 Rakefile
commontator-1.1.0 Rakefile
commontator-1.0.6 Rakefile
commontator-1.0.5 Rakefile
commontator-1.0.4 Rakefile
commontator-1.0.3 Rakefile
commontator-1.0.2 Rakefile
commontator-1.0.1 Rakefile
commontator-1.0.0 Rakefile