Sha256: 02b988ece444f840bbce28c008d7726075334ff645f54aea304f47e77fcbd586
Contents?: true
Size: 827 Bytes
Versions: 1
Compression:
Stored size: 827 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 sh "bundle exec rspec spec" end task full: [:default] do sh "rubocop" sh "metric_fu" sh "inch" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hexx-0.1.0 | lib/generators/install/templates/Rakefile.erb |