Sha256: ada6c3b8d941b9acdc84cb86ac6d05021cf82f3af76aa481a7923a58dfc78bfd

Contents?: true

Size: 684 Bytes

Versions: 2

Compression:

Stored size: 684 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 -A")
end

system("cd ./spec/dummy; RAILS_ENV=test rails db:environment:set; cd ../..")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sail-3.6.0 Rakefile
sail-3.5.1 Rakefile