1
0
Fork 0
mirror of https://github.com/ms-ati/docile synced 2023-03-27 23:21:52 -04:00
docile/Rakefile
Marc Siegel 25114d0c1d Add Rubocop and run checks in CI
This should finally allow us to adopt code style lints, as well
as others such as performance linting, and have them enforced by
the Github Actions continuous integration (CI) jobs.

For now, I'm choosing to depend on the 'panolint' gem from
Panorama Education, which is my current workplace, as I'd like
to adopt and stay consistent with the setting used there.

Changes
  * Move development and test dependencies from gemspec to Gemfile
  * Add dependency on 'panolint' gem
  * Add .rubocop.yml
  * Fix all existing issues
  * Run rubocop in github actions CI
2021-05-10 17:20:00 -04:00

14 lines
333 B
Ruby

# frozen_string_literal: true
require "rake/clean"
require "bundler/gem_tasks"
require "rspec/core/rake_task"
# Default task for `rake` is to run rspec
task default: [:spec]
# Use default rspec rake task
RSpec::Core::RakeTask.new
# Configure `rake clobber` to delete all generated files
CLOBBER.include("pkg", "doc", "coverage")