Sha256: b536ae78875176967a14400fadab8984a21ab3c80b9deeeda164578cfa2dca84

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

version: '7'

environment:
  RUBY_VERSION: '3.3'

compose:
  files:
    - docker-compose.yml

interaction:
  bash:
    description: Open the Bash shell in app's container
    service: ruby
    command: /bin/bash

  bundle:
    description: Run Bundler commands
    service: ruby
    command: bundle

  rails:
    description: Run RoR commands
    service: ruby
    command: bundle exec rails

  appraisal:
    description: Run Appraisal commands
    service: ruby
    command: bundle exec appraisal

  swaggerize:
    description: Build swagger docs
    service: ruby
    environment:
      RAILS_ENV: test
    command: bundle exec rspec --format Rswag::Specs::SwaggerFormatter --order defined spec/requests/

  rspec:
    description: Run Rspec commands
    service: ruby
    command: bundle exec rspec
    subcommands:
      all:
        command: bundle exec appraisal rspec
      rails-6.1:
        command: bundle exec appraisal rails-6.1 rspec
      rails-7.0:
        command: bundle exec appraisal rails-7.0 rspec
      rails-7.1:
        command: bundle exec appraisal rails-7.1 rspec

  rubocop:
    description: Run Ruby linter
    service: ruby
    command: bundle exec rubocop

  setup:
    description: Install deps
    service: ruby
    command: bin/setup

provision:
  - dip compose down --volumes
  - cp -f lefthook-local.dip_example.yml lefthook-local.yml
  - rm -f Gemfile.lock
  - rm -f gemfiles/*gemfile*
  - dip setup

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sbmt-strangler-0.9.1 dip.yml