Sha256: 3148ead7d7ca1c3ae9f58f27c3d50e1ed8dd9e85fa6f9bdde420192d7c6afd29
Contents?: true
Size: 750 Bytes
Versions: 1
Compression:
Stored size: 750 Bytes
Contents
#!/usr/bin/env rake # frozen_string_literal: true begin require "bundler/setup" rescue LoadError puts "You must `gem install bundler` and `bundle install` to run rake tasks" end APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__) load "rails/tasks/engine.rake" Bundler::GemHelper.install_tasks Dir[File.join(File.dirname(__FILE__), "tasks/**/*.rake")].each { |f| load f } require "rspec/core" require "rspec/core/rake_task" RSpec::Core::RakeTask.new(spec: "app:db:test:prepare") task default: :spec task all: :environment do system("brakeman --no-pager && rake && rubocop --auto-correct && rails_best_practices") end system("cd ./spec/dummy; RAILS_ENV=test rails db:environment:set; cd ../..") if Rails::VERSION::MAJOR >= 5
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sail-3.3.0 | Rakefile |