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