Skip to content

Commit

Permalink
update Rakefile for jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Aug 4, 2017
1 parent 697b1c3 commit 5fd7539
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class RakeCrc32

end

require 'yard'
require 'yard' if RUBY_ENGINE == 'ruby'

# Import the rake tasks
import 'tasks/manifest.rake'
Expand Down Expand Up @@ -254,8 +254,10 @@ task :stress do
end
end

YARD::Rake::YardocTask.new do |t|
t.options = ['--protected'] # See all options by typing 'yardoc --help'
if RUBY_ENGINE == 'ruby'
YARD::Rake::YardocTask.new do |t|
t.options = ['--protected'] # See all options by typing 'yardoc --help'
end
end

task :release => [:require_version, :git_checkout_master, :build, :spec, :manifest, :version, :install_crc, :gem]
Expand Down

0 comments on commit 5fd7539

Please sign in to comment.