Sha256: 909e8a477f2fd0737b54efd6a99584bfd0bff45ba3798b4a4611699b69b6810b

Contents?: true

Size: 916 Bytes

Versions: 23

Compression:

Stored size: 916 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    = 'Naf'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

# Eventually we will want a test application to use this Engine
# to see if it works!

APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)

load 'rails/tasks/engine.rake'

Bundler::GemHelper.install_tasks

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

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

desc 'Default: Run all specs.'
task default: :spec

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
naf-2.1.13 Rakefile
naf-2.1.12 Rakefile
naf-2.1.11 Rakefile
naf-2.1.10 Rakefile
naf-2.1.9 Rakefile
naf-2.1.8 Rakefile
naf-2.1.6 Rakefile
naf-2.1.5 Rakefile
naf-2.1.4 Rakefile
naf-2.1.3 Rakefile
naf-2.1.2 Rakefile
naf-2.1.1 Rakefile
naf-2.1.0 Rakefile
naf-2.0.4 Rakefile
naf-2.0.3 Rakefile
naf-2.0.2 Rakefile
naf-2.0.1 Rakefile
naf-2.0.0 Rakefile
naf-1.1.4 Rakefile
naf-1.1.3 Rakefile