-
Notifications
You must be signed in to change notification settings - Fork 3
/
dip.yml
43 lines (35 loc) · 840 Bytes
/
dip.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '7'
compose:
files:
- docker-compose.yml
interaction:
shell:
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: Open Rails console
service: ruby
command: ./bin/rails
appraisal:
description: Run Appraisal commands
service: ruby
command: bundle exec appraisal
rspec:
description: Run Rspec commands
service: ruby
command: bundle exec rspec
rubocop:
description: Run Rubocop linter
service: ruby
command: bundle exec rubocop
provision:
- cp -f lefthook-local.dip_example.yml lefthook-local.yml
- dip compose down --volumes
- rm -f Gemfile.lock gemfiles/*
- dip bundle install
- dip appraisal install