Sha256: 970f6fe1f4508c5bdd4ed580c09d06ac38f5f4b3895da5ce98441567dac86dc8
Contents?: true
Size: 808 Bytes
Versions: 4
Compression:
Stored size: 808 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 slim-lint app/views/' 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:setup RAILS_ENV=test' sh 'bundle exec rails db:migrate RAILS_ENV=test' # runs any pending migrations sh 'bundle exec rake factory_bot:lint RAILS_ENV=test' sh 'bundle exec rspec spec/' end
Version data entries
4 entries across 4 versions & 1 rubygems