Sha256: f23c2c67d91bb71a1077a8c9f416871c31fff09cf222c9e0537846b620a8f0d5

Contents?: true

Size: 689 Bytes

Versions: 1

Compression:

Stored size: 689 Bytes

Contents

# frozen_string_literal: true

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require_relative 'config/application'

Rails.application.load_tasks
task(:default).clear

desc 'Run linters, quality, security and tests'
task :default do
  sh 'bundle exec rubocop'
  sh 'bundle exec rubycritic app/ config/ lib/ --no-browser --minimum-score 94 --format console'
  sh 'bundle exec bundle-audit check --update'
  sh 'bundle exec brakeman -z'
  sh 'bundle exec rails db:migrate RAILS_ENV=test'
  sh 'bundle exec rake factory_bot:lint RAILS_ENV=test'
  sh 'bundle exec rspec spec/'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
welaika-suspenders-2.29.0.alpha.2 templates/rakefile_template.rb