Sha256: 4d94c8a7d4808da03c223099e23a0c49660c178b775d5efc8dc23e4eeebcd388

Contents?: true

Size: 844 Bytes

Versions: 1

Compression:

Stored size: 844 Bytes

Contents

begin
  require "bundler/setup"
rescue LoadError
  puts "You must `gem install bundler` and `bundle install` to run rake tasks"
end

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

Bundler::GemHelper.install_tasks

Dir[File.join(File.dirname(__FILE__), "tasks/**/*.rake")].each { |f| load f }

require "rspec/core"
require "rspec/core/rake_task"

desc "Run specs for Preferences"
RSpec::Core::RakeTask.new(spec: "app:db:test:prepare")

task default: :spec

require "rdoc/task"
desc "Generate documentation for preferences."
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = "rdoc"
  rdoc.title = "preferences"
  rdoc.options << "--line-numbers" << "--inline-source" << "--main=README.md"
  rdoc.rdoc_files.include("README.md", "CHANGELOG.md", "LICENSE", "lib/**/*.rb", "app/**/*.rb")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dm_preferences-1.6.0 Rakefile