From b9628678de72793e1bf0ad10f8c842c5bcb7dc10 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 3 Dec 2022 18:02:18 +0100 Subject: add justfile for language pack processing --- doc/developer/language-pack.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'doc') diff --git a/doc/developer/language-pack.rst b/doc/developer/language-pack.rst index a39617b..71cf9e8 100644 --- a/doc/developer/language-pack.rst +++ b/doc/developer/language-pack.rst @@ -119,5 +119,22 @@ And enable it in your settings: available_locales = en nl +Automation +---------- + +If you are fine with the following default values, then you can use the +provided :file:`justfile` with just_ to automate most of the boring processes: + +* Poetry will be used +* The pack will be saved in :file:`language-packs/fietsboek-i18n-LOCALE` +* The module name will be ``fietsboek_i18n_LOCALE`` + +.. code-block:: bash + + just create-language-pack nl + just update-language-pack nl + just compile-language-pack nl + .. _Poetry: https://python-poetry.org/ .. _Babel: https://babel.pocoo.org/en/latest/index.html +.. _just: https://github.com/casey/just -- cgit v1.2.3