-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update bundler & ensure GEM_HOME is set in container
Also, add docker-compose.yml for local development & update README for that workflow.
- Loading branch information
Showing
3 changed files
with
36 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: '3' | ||
services: | ||
specs: | ||
build: . | ||
command: 'bundle exec rake spec' | ||
volumes: | ||
- .:/app | ||
|
||
spec_prep: | ||
build: . | ||
command: 'bundle exec rake spec_prep' | ||
volumes: | ||
- .:/app | ||
|
||
lint: | ||
build: . | ||
command: | ||
- /bin/bash | ||
- '-c' | ||
- 'bundle exec rake rubocop && bundle exec rake syntax lint && bundle exec rake metadata_lint' | ||
volumes: | ||
- .:/app |