Files
music_library/scripts/dev/fix-translations
T
Claudio Ortolina c513c43a52 Ensure working directory in scripts
So that they can be run standalone and not just through Mise
2025-10-07 10:30:38 +03:00

16 lines
275 B
Bash
Executable File

#!/usr/bin/env bash
#MISE description="Fix translation file conflicts"
set -e
source "$(dirname "$0")/../_helpers.sh"
ensure_working_directory!
git co --theirs priv/gettext/default.pot
git co --theirs priv/gettext/en/LC_MESSAGES/default.po
mix gettext.extract --merge