mirror of
https://github.com/azahar-emu/azahar.git
synced 2025-05-06 19:01:01 +03:00
tools: Added new tool scripts for updating translations and the compatibility list
Also added a brief readme file to the directory
This commit is contained in:
parent
4a34bcfcbf
commit
1d562cdd11
4 changed files with 24 additions and 0 deletions
5
tools/README.md
Normal file
5
tools/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Tools
|
||||
|
||||
This directory contains several scripts which are intended to both document and ease the convenience of certain development processes.
|
||||
|
||||
The scripts in this directory assume that your current working directory is the Azahar root directory and the script is being called via `./tools/xxx.sh`.
|
2
tools/reset-submodules.sh
Normal file → Executable file
2
tools/reset-submodules.sh
Normal file → Executable file
|
@ -3,6 +3,8 @@
|
|||
# SPDX-FileCopyrightText: 2024 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
# This script assumes that Git is installed
|
||||
|
||||
git submodule sync
|
||||
git submodule foreach --recursive git reset --hard
|
||||
git submodule update --init --recursive
|
||||
|
|
9
tools/update-compatibility-list.sh
Executable file
9
tools/update-compatibility-list.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
# This script assumes that Git is installed
|
||||
|
||||
cd ./dist/compatibility_list/
|
||||
git fetch origin
|
||||
git checkout master
|
||||
git pull origin master
|
||||
git checkout --detach
|
8
tools/update-translations.sh
Executable file
8
tools/update-translations.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
# This script assumes that the Transifex CLI and Qt Linquist CLI tools are installed
|
||||
|
||||
cd ./dist/languages/
|
||||
tx pull -a -f
|
||||
cd ../../
|
||||
lupdate -recursive './src' -ts ./dist/languages/*.ts
|
Loading…
Add table
Add a link
Reference in a new issue