forked from jnunemaker/crack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
32 lines (28 loc) · 930 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$:.unshift("lib")
require 'rubygems'
require 'rake'
$:.unshift(File.expand_path('lib', File.dirname(__FILE__)))
require 'crack'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "crack"
gem.summary = %Q{Really simple JSON and XML parsing, ripped from Merb and Rails.}
gem.email = "[email protected]"
gem.homepage = "http:/jnunemaker/crack"
gem.authors = ["John Nunemaker", "Wynn Netherland"]
gem.rubyforge_project = 'crack'
gem.version = Crack::VERSION
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/*_test.rb'
test.verbose = false
end
task :default => :test