Sha256: c620fff0412cecfccb993760dbf9499f5ee87f2e5c209226cfc82b7cf1408a27

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

name: lhm
up:
  - homebrew:
      - mysql-client@5.7:
          or: [mysql@5.7]
          conflicts: [shopify/shopify/mysql-client, mysql-connector-c, mysql, mysql-client]
      - wget
  - ruby: 2.7.0
  - bundler
  - custom:
      name: Get Appraisal gems
      met?: bundle exec appraisal install
      meet: ":"
  - docker
  - custom:
      name: Docker Compose
      met?: docker compose ls | grep -ioE -q "lhm.*running\(4\)"
      meet: docker compose up -d
  - custom:
      name: Waiting for DBs to be operational
      met?: ./scripts/helpers/wait-for-dbs.sh
      meet: ":"

commands:
  unit: bundle exec rake unit
  int: bundle exec rake integration
  test:
    optional: file
    aliases: [ t ]
    run: |
      if [[ $# -eq 0 ]]; then
        bundle exec rake unit && bundle exec rake integration
      else
        bundle exec rake dev TEST="$@"
      fi
  appraisals: bundle exec appraisal rake specs
  cov: rm -rf coverage; COV=1 bundle exec rake unit && bundle exec rake integration; open coverage/index.html
  logs:
    desc: "See the DB logs (ctrl-c + ctrl-c to exit)"
    run: docker-compose logs -f
  clear:
    run: docker-compose rm -v -s -f && docker-compose up -d && ./scripts/helpers/wait-for-dbs.sh

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lhm-shopify-3.5.3 dev.yml
lhm-shopify-3.5.2 dev.yml
lhm-shopify-3.5.1 dev.yml