bibendi/simple_contracts

View on GitHub
dip.yml

Summary

Maintainability
Test Coverage
version: '2'

environment:
  BUNDLE_GEMFILE: /app/Gemfile

compose:
  files:
    - docker-compose.yml

interaction:
  bash:
    service: app

  bundle:
    service: app
    command: bundle

  console:
    service: app
    command: ./bin/console

  rspec:
    service: app
    command: bundle exec rspec

  rubocop:
    service: app
    command: bundle exec rubocop

  clean:
    service: app
    command: rm -rf Gemfile.lock examples/twitter/Gemfile.lock tmp/

  twitter:
    service: app
    environment:
      BUNDLE_GEMFILE: /app/examples/twitter/Gemfile
    subcommands:
      provision:
        command: bundle install
      cli:
        command: bundle exec ./examples/twitter/bin/search_twitter

provision:
  - dip clean
  - dip bundle install