Sha256: 4af5a3d631d2e87d3b3fcb15bdec2e410791f68caeba355061e09a86e84b1aff
Contents?: true
Size: 771 Bytes
Versions: 1
Compression:
Stored size: 771 Bytes
Contents
require "bundler/gem_tasks" begin require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) rescue LoadError puts "Couldn't find RSpec core Rake task" end begin require "yard" YARD::Rake::YardocTask.new do |t| t.options = ["--verbose"] t.files = ["lib/**/*.rb", "doc/**/*.md"] t.stats_options = ["--list-undoc"] end rescue LoadError puts "Couldn't find YARD" end begin require "yard-doctest" YARD::Doctest::RakeTask.new do |task| task.doctest_opts = %w[] task.pattern = "lib/**/*.rb" end rescue LoadError puts "Couldn't find yard-doctest" end task default: if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby" [:spec] else [:spec, "yard:doctest"] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
metaractor-sycamore-0.4.3 | Rakefile |