File: Rakefile

package info (click to toggle)
ruby-roo 2.8.2-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 6,628 kB
  • sloc: ruby: 6,337; xml: 88; makefile: 6
file content (23 lines) | stat: -rw-r--r-- 429 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
require 'bundler/gem_tasks'

require 'rake/testtask'
require 'rspec/core/rake_task'
require 'coveralls/rake/task'

# Test unit
Rake::TestTask.new do |t|
  t.libs << 'test'
  t.test_files = FileList['test/**/test*.rb']
  t.verbose = true
end

# RSpec
RSpec::Core::RakeTask.new(:spec)

# Coveralls
Coveralls::RakeTask.new

default_task = [:test, :spec]
default_task << 'coveralls:push' if ENV['TRAVIS']

task default: default_task