mirror of
https://github.com/azahar-emu/azahar
synced 2025-11-06 23:19:57 +01: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
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-FileCopyrightText: 2024 yuzu Emulator Project
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
# This script assumes that Git is installed
|
||||||
|
|
||||||
git submodule sync
|
git submodule sync
|
||||||
git submodule foreach --recursive git reset --hard
|
git submodule foreach --recursive git reset --hard
|
||||||
git submodule update --init --recursive
|
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…
x
Reference in New Issue
Block a user