forked from jmhodges/rchardet
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Rakefile
29 lines (26 loc) · 910 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
require 'rubygems'
require 'rake/testtask'
require 'rake/gempackagetask'
begin
require 'lib/rchardet'
rescue LoadError
module CharDet; VERSION = '0.0.0'; end
puts "Problem loading rfeedparser; try rake setup"
end
spec = Gem::Specification.new do |s|
s.name = "rchardet"
s.version = CharDet::VERSION
s.author = "Jeff Hodges"
s.email = "jeff at somethingsimilar dot com"
s.homepage = "http://github.com/jmhodges/rchardet/tree/master"
s.platform = Gem::Platform::RUBY
s.summary = "Character encoding auto-detection in Ruby. As smart as your browser. Open source."
s.files = FileList["lib/**/*"]
s.require_path = "lib"
# s.autorequire = "feedparser" # tHe 3vil according to Why.
s.has_rdoc = false # TODO: fix
s.extra_rdoc_files = ['README', 'COPYING']
s.rubyforge_project = 'rchardet'
end
Rake::GemPackageTask.new(spec) do
end