-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathRakefile
31 lines (28 loc) · 933 Bytes
/
Rakefile
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
begin
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'api_docs'
gem.homepage = 'http://github.com/twg/api_docs'
gem.license = 'MIT'
gem.summary = 'Generate API documentation using integration tests in Ruby on Rails 3'
gem.description = 'Generate API documentation using integration tests in Ruby on Rails 3'
gem.email = '[email protected]'
gem.authors = ['Oleg Khabarov', 'Jack Neto', 'The Working Group Inc.']
end
Jeweler::RubygemsDotOrgTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
require 'rake/testtask'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
task :default => :test