Skip to content

Commit a8f1ab8

Browse files
pwithnalldbnicholson
authored andcommitted
app: Drop compiled .mo files from git
We added them because that’s what Kolibri does, but it doesn’t really gain us much. `yarn run i18n-django-compilemessages` doesn’t take long, so we can run it on every build and avoid committing build products to the repository. See #775 (comment) Signed-off-by: Philip Withnall <[email protected]>
1 parent 33c84ce commit a8f1ab8

File tree

35 files changed

+2
-1
lines changed

35 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ pytestdebug.log
3939

4040
# Translations
4141
kolibri_explore_plugin/locale/**/LC_MESSAGES/*.csv
42+
kolibri_explore_plugin/locale/**/LC_MESSAGES/django.mo
4243
kolibri_explore_plugin/locale/en/LC_MESSAGES/profiles/*
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Monorepo with kolibri's Discovery page and custom channel presentations.",
44
"private": true,
55
"scripts": {
6-
"build": "yarn build:version && yarn build:packages && yarn deploy:loading && yarn build:plugin && yarn build:info",
6+
"build": "yarn build:version && yarn build:packages && yarn deploy:loading && yarn build:plugin && yarn build:info && yarn run i18n-django-compilemessages",
77
"build:plugin": "./scripts/set_override.py default && kolibri-tools build prod --plugins kolibri_explore_plugin --transpile",
88
"build:packages": "yarn build:libs",
99
"build:libs": "lerna run build --stream --ignore template-ui",

0 commit comments

Comments
 (0)