Sha256: b0f633b13a7e1c9bef8b145cd026cc336d254e93e5a9275cc335fdec24272890

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

#!/usr/bin/env rake
# frozen_string_literal: true

require 'rspec/core/rake_task'
require 'coveralls/rake/task'
require "bundler/gem_tasks"
require 'bundler/audit/task'

RSpec::Core::RakeTask.new
Coveralls::RakeTask.new
Bundler::Audit::Task.new

desc "db"
namespace :db do
  desc "test"
  namespace :test do
    desc "prepare"
    task :prepare do
      system <<~EOS
        set -ex
        cd spec/dummy
        rake db:create && rake db:test:prepare
      EOS
    end
  end
end

task default: :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git_models-1.2.0 Rakefile