File: Rakefile

package info (click to toggle)
ruby-ddplugin 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 132 kB
  • sloc: ruby: 154; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 261 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'rake/testtask'
require 'rubocop/rake_task'

Rake::TestTask.new do |t|
  t.libs = %w[lib test]
  t.test_files = FileList['test/**/test_*.rb', 'test/**/*_spec.rb']
end

RuboCop::RakeTask.new

task default: %i[test rubocop]