Sha256: 2215d23ea0f47291c9a62582b020088cce3001e2f41bd36a75f9327b65dcd17b
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end require 'rdoc/task' RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Binda' rdoc.options << '--line-numbers' rdoc.rdoc_files.include('README.md') rdoc.rdoc_files.include('lib/**/*.rb') end APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__) load 'rails/tasks/engine.rake' load 'rails/tasks/statistics.rake' require 'bundler/gem_tasks' # # I guess this generate test file every time you use `rails g` command # require 'rake/testtask' # Rake::TestTask.new(:test) do |t| # t.libs << 'lib' # t.libs << 'test' # t.pattern = 'test/**/*_test.rb' # t.verbose = false # end # task default: :test # This should ensure creation of spec instead of test (partially true) # https://stackoverflow.com/a/4632188/1498118 require 'rspec/core/rake_task' RSpec::Core::RakeTask.new('spec') # If you want to make this the default task task :default => :spec
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
binda-0.0.6 | Rakefile |
binda-0.0.5 | Rakefile |