blob: 8afc41624394b48db5233b2b506f6358052bc3ea (
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
30
31
32
33
34
35
36
37
38
39
|
diff --git a/Rakefile b/Rakefile
index e2d8ef2..85070ae 100644
--- a/Rakefile
+++ b/Rakefile
@@ -18,34 +18,6 @@ task :test do
end
default_tasks << :test
-unless RUBY_PLATFORM == 'java' || RUBY_ENGINE == 'truffleruby'
- #
- # YARD documentation for this project can NOT be built with JRuby.
- # This project uses the redcarpet gem which can not be installed on JRuby.
- #
- require 'yard'
- YARD::Rake::YardocTask.new
- CLEAN << '.yardoc'
- CLEAN << 'doc'
- default_tasks << :yard
-
- require 'yardstick/rake/verify'
- Yardstick::Rake::Verify.new(:'yardstick:coverage') do |t|
- t.threshold = 50
- t.require_exact_threshold = false
- end
- default_tasks << :'yardstick:coverage'
-
- desc 'Run yardstick to check yard docs'
- task :yardstick do
- sh "yardstick 'lib/**/*.rb'"
- end
- # Do not include yardstick as a default task for now since there are too many
- # warnings. Will work to get the warnings down before re-enabling it.
- #
- # default_tasks << :yardstick
-end
-
default_tasks << :build
task default: default_tasks
|