forked from SergioFierens/ai4r
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Rakefile.rb
42 lines (35 loc) · 1.13 KB
/
Rakefile.rb
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
33
34
35
36
37
38
39
40
41
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'
load 'ai4r.gemspec'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "ai4r"
gemspec.description = "Describe your gem"
gemspec.email = "[email protected]"
gemspec.homepage = "http://ai4r.rubyforge.org"
gemspec.authors = ["Sergio Fierens"]
gemspec.rubyforge_project = "ai4r"
gemspec.summary = <<-DESC.strip.gsub(/\n\s+/, " ")
Ruby implementations of algorithms covering several
Artificial intelligence fields, including Genetic
algorithms, Neural Networks, machine learning, and clustering.
DESC
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Rake::TestTask.new do |t|
t.test_files = FileList["test/**/*_test.rb"]
end
Rake::RDocTask.new do |rd|
rd.main = "README.rdoc"
rd.rdoc_dir = "rdoc"
rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
rd.title = "ar4r - Artificial Intelligence For Ruby - API DOC"
end
#Rake::GemPackageTask.new(SPEC) do |pkg|
# pkg.need_zip = true
#end