forked from knowtions/rseg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
21 lines (20 loc) · 799 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'rake'
require 'rake/testtask'
require 'rcov/rcovtask'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "rseg"
s.executables = ["rseg", 'rseg_server']
s.summary = "A Chinese Word Segmentation(中文分词) routine in pure Ruby"
s.email = "[email protected]"
s.homepage = "http://github.com/yzhang/rseg"
s.description = "A Chinese Word Segmentation(中文分词) routine in pure Ruby"
s.authors = ["Yuanyi Zhang"]
s.files = FileList["[A-Z]*", "{bin,lib,public,views}/**/*", '.gitignore', 'dict/dict.hash']
s.add_dependency 'haml'
s.add_dependency 'sinatra'
end
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end