Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 26 lines (22 sloc) 0.66 kB
d830026 @sferik Cleanup
sferik authored
1 #!/usr/bin/env rake
0c5bc12 @joshk lets not hard require bundler for running the tests, although it is p…
joshk authored
2 begin
3 require 'bundler'
4 Bundler::GemHelper.install_tasks
5 rescue LoadError => e
d830026 @sferik Cleanup
sferik authored
6 warn "[WARNING]: It is recommended that you use bundler during development: gem install bundler"
0c5bc12 @joshk lets not hard require bundler for running the tests, although it is p…
joshk authored
7 end
c9572c1 @Flameeyes Allow running specs even if Jeweler is not installed.
Flameeyes authored
8
10c365f @sferik Upgrade to rspec 2
sferik authored
9 require 'rspec/core/rake_task'
10 desc "Run all examples"
0c5bc12 @joshk lets not hard require bundler for running the tests, although it is p…
joshk authored
11 RSpec::Core::RakeTask.new(:spec)
518c21a Initial commit to x_to_json.
Michael Bleigh authored
12
b1dbe2d @sferik Remove Jeweler because it creates messy gemspecs and is redundant
sferik authored
13 task :default => :spec
d830026 @sferik Cleanup
sferik authored
14 task :test => :spec
b1dbe2d @sferik Remove Jeweler because it creates messy gemspecs and is redundant
sferik authored
15
7c1af68 @sferik Namespace doc tasks
sferik authored
16 namespace :doc do
17 require 'rdoc/task'
18 require File.expand_path('../lib/multi_json/version', __FILE__)
19 RDoc::Task.new do |rdoc|
20 rdoc.rdoc_dir = 'rdoc'
21 rdoc.title = "multi_json #{MultiJson::VERSION}"
22 rdoc.main = 'README.md'
23 rdoc.rdoc_files.include('README.md', 'LICENSE.md', 'lib/**/*.rb')
24 end
518c21a Initial commit to x_to_json.
Michael Bleigh authored
25 end
Something went wrong with that request. Please try again.