docker.sh 611 B

123456789101112131415161718192021222324252627
  1. #!/bin/bash -e
  2. # SPDX-FileCopyrightText: 2021 yuzu Emulator Project
  3. # SPDX-License-Identifier: GPL-2.0-or-later
  4. # Setup RC file for tx
  5. cat << EOF > ~/.transifexrc
  6. [https://www.transifex.com]
  7. rest_hostname = https://rest.api.transifex.com
  8. token = $TRANSIFEX_API_TOKEN
  9. EOF
  10. set -x
  11. echo -e "\e[1m\e[33mBuild tools information:\e[0m"
  12. cmake --version
  13. gcc -v
  14. tx --version
  15. mkdir build && cd build
  16. cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_SDL2=OFF -DYUZU_TESTS=OFF -DYUZU_USE_BUNDLED_VCPKG=ON
  17. make translation
  18. cd ..
  19. cd dist/languages
  20. tx push -s