File: Rakefile

package info (click to toggle)
ruby-riddle 2.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 10,748 kB
  • sloc: sql: 25,022; php: 5,992; ruby: 4,757; sh: 59; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (2)
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
# frozen_string_literal: true

require 'rubygems'
require 'bundler'

Bundler::GemHelper.install_tasks
Bundler.require :default, :development

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.rcov_opts = ['--exclude', 'spec', '--exclude', 'gems']
  spec.rcov      = true
end

YARD::Rake::YardocTask.new

task :default => :spec

task :fixtures do
  require './spec/spec_helper'
  BinaryFixtures.build_fixtures
end