Added Rakefile build tasks

Necessary to ensure the entire project can be built (and have the ability to run individual tasks as desired). For the moment, code quality checks are disabled until more work is done.

Milestone: minor
This commit is contained in:
Brooke Kuhlmann
2026-01-29 08:46:03 -07:00
parent fcffae2b0b
commit 69891dae4c
2 changed files with 19 additions and 6 deletions
+2 -4
View File
@@ -13,12 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
- name: Ruby Setup
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run the default task
- name: Rake
run: bundle exec rake
- name: Run RSpec
run: bundle exec rspec spec
+17 -2
View File
@@ -1,4 +1,19 @@
# frozen_string_literal: true
require "bundler/gem_tasks"
task default: %i[]
require "bundler/setup"
require "git/lint/rake/register"
require "reek/rake/task"
require "rspec/core/rake_task"
require "rubocop/rake_task"
Git::Lint::Rake::Register.call
Reek::Rake::Task.new
RSpec::Core::RakeTask.new { |task| task.verbose = false }
RuboCop::RakeTask.new
desc "Run code quality checks"
task quality: %i[git_lint reek rubocop]
# TODO: Replace once code quality is fixed.
# task default: %i[quality spec]
task default: %i[spec]