Blame view

Rakefile 347 Bytes
bbf1c61a   Joe Weakley   Updated documenta...
1
2
3
4
5
  # frozen_string_literal: true
  
  require 'bundler/gem_tasks'
  require 'rake/testtask'
  require 'rubocop/rake_task'
31f9a345   Isaac Lewis   init; some tests
6
  
87fd11a1   Isaac Lewis   reorg
7
  Rake::TestTask.new(:test) do |t|
bbf1c61a   Joe Weakley   Updated documenta...
8
9
10
    t.libs << 'test'
    t.libs << 'lib'
    t.test_files = FileList['test/**/*_test.rb']
87fd11a1   Isaac Lewis   reorg
11
  end
31f9a345   Isaac Lewis   init; some tests
12
  
bbf1c61a   Joe Weakley   Updated documenta...
13
14
15
16
17
  task default: %i[test rubocop]
  
  RuboCop::RakeTask.new(:rubocop) do |t|
    t.options = ['--display-cop-names']
  end