You've already forked sensor_scanner
mirror of
https://github.com/usetrmnl/sensor_scanner.git
synced 2026-04-29 13:45:14 -07:00
80ff29343a
Necessary to provide initial scaffolding for this project. This was generated using link:https://alchemists.io/projects/rubysmith[Rubysmith]. While this isn't a Ruby project since the core implementation is in C, having the Ruby tooling will help from a CI and code quality perspective.
18 lines
409 B
Ruby
18 lines
409 B
Ruby
# frozen_string_literal: true
|
|
|
|
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]
|
|
|
|
task default: %i[quality spec]
|