Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 97d29d3617
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (32 sloc) 1.002 kb
require 'rubygems'
require 'spec/rake/spectask'
task :test => :spec
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = 'jcon'
s.rubyforge_project = 'jcon'
s.summary = "Test JSON values against a schema."
s.homepage = 'http://jcon.rubyforge.org'
s.description = <<-EOF
Test JSON values for conformance with ECMAScript 4.0 types.
EOF
s.author = 'Oliver Steele'
s.email = 'steele@osteele.com'
s.rdoc_options <<
'--title' << "JCON: #{s.summary.sub(/.$/,'')}" <<
'--main' << 'README' <<
'--exclude' << 'spec/.*'
s.extra_rdoc_files = ['README.rdoc', 'TODO', 'LICENSE']
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
desc "Run all specs"
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/*_spec.rb']
if ENV['RCOV']
t.rcov = true
t.rcov_opts = ['--exclude', 'spec\/spec']
end
end
Jump to Line
Something went wrong with that request. Please try again.