forked from beanstalkd/beaneater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
33 lines (28 loc) · 826 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
32
33
require "bundler/gem_tasks"
require 'rake/testtask'
require 'yard'
require 'redcarpet'
# rake test
Rake::TestTask.new do |t|
t.libs.push "lib"
t.test_files = FileList[File.expand_path('../test/**/*_test.rb', __FILE__)] -
FileList[File.expand_path('../test/**/beaneater_test.rb', __FILE__)]
t.verbose = true
end
# rake test:integration
Rake::TestTask.new("test:integration") do |t|
t.libs.push "lib"
t.test_files = FileList[File.expand_path('../test/**/beaneater_test.rb', __FILE__)]
t.verbose = true
end
# rake test:full
Rake::TestTask.new("test:full") do |t|
t.libs.push "lib"
t.test_files = FileList[File.expand_path('../test/**/*_test.rb', __FILE__)]
t.verbose = true
end
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/beaneater/**/*.rb']
t.options = []
end
task :default => 'test:full'