Sha256: 7bf71731a8963a49f58596a3b12b2e5550a7e6b3ec2f3d8ae08370091fe11206
Contents?: true
Size: 769 Bytes
Versions: 21
Compression:
Stored size: 769 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 Bundler::GemHelper.install_tasks 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 # I don't need this but I'll just leave it for future reference 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 = 'RailsUtils' rdoc.options << '--line-numbers' rdoc.rdoc_files.include('README.markdown') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
21 entries across 21 versions & 1 rubygems