Skip to content

Commit

Permalink
Asding msgfmt on action
Browse files Browse the repository at this point in the history
  • Loading branch information
marcieltorres committed Feb 18, 2024
1 parent 62b21c1 commit ca7b6a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
with:
fetch-depth: 1

- name: msgfmt
run: msgfmt --help

- name: Installing the project
run: make docker/install

- name: Running Lint
run: make docker/lint

- name: Running tests
run: make docker/test
run: make docker/test
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ generate-default-env-file:
@if [ ! -f .env ]; then cp env.template .env; fi;

generate-mo-files:
msgfmt --help

msgfmt -o ${GITHUB_WORKSPACE}/src/locales/en/LC_MESSAGES/base.mo ${GITHUB_WORKSPACE}/src/locales/en/LC_MESSAGES/base.po
msgfmt -o ${GITHUB_WORKSPACE}/src/locales/pt_BR/LC_MESSAGES/base.mo ${GITHUB_WORKSPACE}/src/locales/pt_BR/LC_MESSAGES/base.po

0 comments on commit ca7b6a0

Please sign in to comment.