Rakefile 505 B

1234567891011121314151617181920
  1. require 'bundler'
  2. Bundler::GemHelper.install_tasks
  3. require 'rspec/core/rake_task'
  4. desc "Run all examples"
  5. RSpec::Core::RakeTask.new(:spec)
  6. task :default => :spec
  7. task :test => :spec
  8. namespace :doc do
  9. require 'rdoc/task'
  10. require File.expand_path('../lib/multi_json/version', __FILE__)
  11. RDoc::Task.new do |rdoc|
  12. rdoc.rdoc_dir = 'rdoc'
  13. rdoc.title = "multi_json #{MultiJson::VERSION}"
  14. rdoc.main = 'README.md'
  15. rdoc.rdoc_files.include('README.md', 'LICENSE.md', 'lib/**/*.rb')
  16. end
  17. end