forked from aws/aws-xray-sdk-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
31 lines (25 loc) · 629 Bytes
/
Rakefile
File metadata and controls
31 lines (25 loc) · 629 Bytes
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
require 'bundler/gem_tasks'
Rake::Task['release'].clear
# default task
task default: %i[yard test]
require 'rake'
require 'rake/testtask'
require 'yard'
# tasks
desc 'execute all tests'
Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/tc_*.rb']
t.verbose = false
t.warning = false
end
desc 'execute distribution channel check'
Rake::TestTask.new :test_distribution do |t|
t.test_files = FileList['test/test_distribution.rb']
t.libs = []
t.verbose = false
t.warning = false
end
desc 'generate API reference documentation'
YARD::Rake::YardocTask.new :yard do |t|
t.files = ['lib/**/*.rb']
end