mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 09:38:10 -03:30
Update tooling and UI development documentation to cover I18N
- Document steps for adding I18N in builds - Add "clean-language" target to remove *.mo files Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
committed by
Jake McDermott
parent
94e14ae6f8
commit
8362aa71db
6
Makefile
6
Makefile
@@ -66,7 +66,7 @@ I18N_FLAG_FILE = .i18n_built
|
||||
ui-test ui-deps ui-test-ci VERSION
|
||||
|
||||
# remove ui build artifacts
|
||||
clean-ui:
|
||||
clean-ui: clean-languages
|
||||
rm -rf awx/ui/static/
|
||||
rm -rf awx/ui/node_modules/
|
||||
rm -rf awx/ui/test/unit/reports/
|
||||
@@ -94,6 +94,10 @@ clean-schema:
|
||||
rm -rf schema.json
|
||||
rm -rf reference-schema.json
|
||||
|
||||
clean-languages:
|
||||
rm -f $(I18N_FLAG_FILE)
|
||||
find . -type f -regex ".*\.mo$$" -delete
|
||||
|
||||
# Remove temporary build files, compiled Python files.
|
||||
clean: clean-ui clean-dist
|
||||
rm -rf awx/public
|
||||
|
||||
Reference in New Issue
Block a user