Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 38 lines (29 sloc) 0.701 kB
6f98671 @febuiles Initial commit.
authored
1 #!/usr/bin/env rake
2 begin
3 require 'bundler/setup'
4 rescue LoadError
5 puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6 end
7 begin
8 require 'rdoc/task'
9 rescue LoadError
10 require 'rdoc/rdoc'
11 require 'rake/rdoctask'
12 RDoc::Task = Rake::RDocTask
13 end
14
15 RDoc::Task.new(:rdoc) do |rdoc|
16 rdoc.rdoc_dir = 'rdoc'
17 rdoc.title = 'AutoBuild'
18 rdoc.options << '--line-numbers'
2fc8806 @febuiles Updating Manifest.
authored
19 rdoc.rdoc_files.include('README.md')
6f98671 @febuiles Initial commit.
authored
20 rdoc.rdoc_files.include('lib/**/*.rb')
21 end
22
23
24
25 Bundler::GemHelper.install_tasks
26
27 require 'rake/testtask'
28
29 Rake::TestTask.new(:test) do |t|
30 t.libs << 'lib'
31 t.libs << 'test'
32 t.pattern = 'test/**/*_test.rb'
33 t.verbose = false
34 end
35
36
37 task :default => :test
Something went wrong with that request. Please try again.