Sha256: 61ae24e0f1529402da26a10599bcb095983b434bde897bd99c9a3c0ac168b5ee

Contents?: true

Size: 1003 Bytes

Versions: 2

Compression:

Stored size: 1003 Bytes

Contents

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    = "<%= module_name %>"
  rdoc.options << "--line-numbers"
  rdoc.rdoc_files.include "README.rdoc"
  rdoc.rdoc_files.include "lib/**/*.rb"
end

Bundler::GemHelper.install_tasks

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

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new :spec

task :default do
  system "mkdir spec/dummy/tmp/cache -p -v"
  system "bundle exec rake db:migrate RAILS_ENV=test"
  system "bundle exec rspec spec"
end

task :check do
  system "coveralls report"
  system "rubocop"
  system "metric_fu"
  system "inch --pedantic"
  system "rails_best_practices"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hexx-1.1.1 lib/generators/install/templates/root/Rakefile.erb
hexx-1.1.0 lib/generators/install/templates/Rakefile.erb