summaryrefslogtreecommitdiff
path: root/Rakefile
blob: 02cb12e655ce34a8db124ade4f2c52265d7130b3 (plain)
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
begin
  require 'bundler/gem_tasks'
rescue LoadError
end

require 'rake/testtask'

Rake::TestTask.new do |t|
  t.libs << 'test'
  t.test_files = Dir['test/*_test.rb']
end

# begin
#   require 'rdoc/task'

#   # requires sdoc and horo gems
#   RDoc::Task.new do |rdoc|
#     rdoc.title = 'Slop API Documentation'
#     rdoc.rdoc_dir = 'doc'
#     rdoc.options << '-f' << 'sdoc'
#     rdoc.options << '-T' << 'rails'
#     rdoc.options << '-e' << 'UTF-8'
#     rdoc.options << '-g'
#     rdoc.rdoc_files.include('lib/**/*.rb')
#   end
# rescue LoadError
# end

task :default => :test