Sha256: 7f3b93839521c572f2873b15004c6242953c9c76bfbf89325d02f205f7e297da

Contents?: true

Size: 478 Bytes

Versions: 3

Compression:

Stored size: 478 Bytes

Contents

require 'bundler/gem_tasks'

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

Rake::TestTask.new do |t|
  t.libs << 'lib'
  t.libs << 'spec'
  t.test_files = FileList['test/*_test.rb']
end

# Run robocop
desc 'Run RuboCop on the lib directory'
RuboCop::RakeTask.new(:rubocop) do |task|
  task.patterns = ['lib/**/*.rb']
  # only show the files with failures
  task.formatters = ['files']
  # don't abort rake on failure
  task.fail_on_error = false
end

task default: :test

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
rabbit-mm-1.1.0 Rakefile
rabbit-mm-1.0.0 Rakefile
mmfont-1.0.1 Rakefile