Sha256: e9ca43ec95b490bc2ff557a8d4542d14b1fd399c56c06267ec4caeba915e22c8

Contents?: true

Size: 944 Bytes

Versions: 19

Compression:

Stored size: 944 Bytes

Contents

# frozen_string_literal: true
require File.dirname(__FILE__) + '/lib/yard'
require File.dirname(__FILE__) + '/lib/yard/rubygems/specification'
require 'rbconfig'
require 'samus'

YARD::VERSION.replace(ENV['YARD_VERSION']) if ENV['YARD_VERSION']

Dir['tasks/**/*.rake'].each { |task_file| load task_file }

desc "Builds the gem"
task :gem do
  sh "gem build yard.gemspec"
end

desc "Installs the gem"
task :install => :gem do
  sh "gem install yard-#{YARD::VERSION}.gem --no-document"
end

begin
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new(:spec)
rescue LoadError
  nil # noop
end

desc "Generate documentation for Yard, and fail if there are any warnings"
task :test_doc do
  sh "ruby bin/yard --fail-on-warning #{"--no-progress" if ENV["CI"]}"
end

task :default => [:spec, :test_doc]

YARD::Rake::YardocTask.new do |t|
  t.options += ['--title', "YARD #{YARD::VERSION} Documentation"]
end

Samus::Rake::DockerReleaseTask.new

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
kinetic_sdk-5.0.25 gems/yard-0.9.25/Rakefile
kinetic_sdk-5.0.24 gems/yard-0.9.25/Rakefile
kinetic_sdk-5.0.23 gems/yard-0.9.25/Rakefile
kinetic_sdk-5.0.22 gems/yard-0.9.25/Rakefile
kinetic_sdk-5.0.21 gems/yard-0.9.25/Rakefile
kinetic_sdk-5.0.20 gems/yard-0.9.25/Rakefile
yard-0.9.26 Rakefile
qiita_org-0.1.35 gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile
qiita_org-0.1.34 gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile
qiita_org-0.1.33 gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile
qiita_org-0.1.32 gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile
qiita_org-0.1.31 gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile
qiita_org-0.1.30 gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile
qiita_org-0.1.29 gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile
qiita_org-0.1.28 gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile
qiita_org-0.1.27 gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile
qiita_org-0.1.26 gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile
qiita_org-0.1.25 gems/ruby/2.7.0/gems/yard-0.9.25/Rakefile
yard-0.9.25 Rakefile