Skip to content

Commit

Permalink
Include 'i18n-tasks' gem config setup in '.circleci/config.yml'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakeemmidan committed Jun 30, 2021
1 parent 1f5fea7 commit 49bb866
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,26 @@ commands:
key: solidus-gems-v3-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle

- run:
name: "i18n-tasks gem: Install default configuration"
command: |
mkdir -p config
cp $(bundle exec i18n-tasks gem-path)/templates/config/i18n-tasks.yml config/
- run:
name: "i18n-tasks gem: Add RSpec tests for missing and unused keys"
command: |
mkdir -p spec
cp $(bundle exec i18n-tasks gem-path)/templates/rspec/i18n_spec.rb api/spec/support
- run:
name: "i18n-tasks gem: Remove un-used keys"
command: i18n-tasks remove-unused

- run:
name: "i18n-tasks gem: Normalize translation data"
command: i18n-tasks normalize

test:
steps:
Expand Down

0 comments on commit 49bb866

Please sign in to comment.