Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 37 lines (32 sloc) 1.017 kb
d5a78001 »
2009-02-09 Initial commit to fast-stemmer.
1 require 'rake'
2
3 begin
4 require 'jeweler'
5 Jeweler::Tasks.new do |s|
6 s.name = "fast-stemmer"
6b1bdd83 »
2009-02-09 Initial import
7 s.summary = %Q{Fast Porter stemmer based on a C version of algorithm}
8 s.email = "romanbsd@yahoo.com"
d5a78001 »
2009-02-09 Initial commit to fast-stemmer.
9 s.homepage = "http://github.com/romanbsd/fast-stemmer"
6b1bdd83 »
2009-02-09 Initial import
10 s.description = s.summary
d5a78001 »
2009-02-09 Initial commit to fast-stemmer.
11 s.authors = ["Roman Shterenzon"]
6b1bdd83 »
2009-02-09 Initial import
12 s.extensions = ['ext/extconf.rb']
13 s.files = FileList["[A-Z]*", "{ext,lib,test}/**/*"]
d5a78001 »
2009-02-09 Initial commit to fast-stemmer.
14 end
6593c40c »
2012-04-07 include Jeweler::RubygemsDotOrgTasks tasks
15 Jeweler::RubygemsDotOrgTasks.new
d5a78001 »
2009-02-09 Initial commit to fast-stemmer.
16 rescue LoadError
17 puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
18 end
19
12ea1d27 »
2012-04-05 Don't mutate the original string
20 require 'rdoc/task'
d5a78001 »
2009-02-09 Initial commit to fast-stemmer.
21 Rake::RDocTask.new do |rdoc|
22 rdoc.rdoc_dir = 'rdoc'
23 rdoc.title = 'fast-stemmer'
24 rdoc.options << '--line-numbers' << '--inline-source'
25 rdoc.rdoc_files.include('README*')
26 rdoc.rdoc_files.include('lib/**/*.rb')
27 end
28
29 require 'rake/testtask'
30 Rake::TestTask.new(:test) do |t|
31 t.libs << 'lib' << 'test'
32 t.pattern = 'test/**/*_test.rb'
33 t.verbose = false
34 end
35
36 task :default => :test
Something went wrong with that request. Please try again.