mirror of
https://github.com/ms-ati/docile
synced 2023-03-27 23:21:52 -04:00
25114d0c1d
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
14 lines
333 B
Ruby
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")
|