docker.sh 598 B

12345678910111213141516171819202122232425262728
  1. #!/bin/bash -e
  2. # Setup RC file for tx
  3. cat << EOF > ~/.transifexrc
  4. [https://www.transifex.com]
  5. hostname = https://www.transifex.com
  6. username = api
  7. password = $TRANSIFEX_API_TOKEN
  8. EOF
  9. set -x
  10. echo -e "\e[1m\e[33mBuild tools information:\e[0m"
  11. cmake --version
  12. gcc -v
  13. tx --version
  14. # vcpkg needs these: curl zip unzip tar, have tar
  15. apt-get install -y curl zip unzip
  16. mkdir build && cd build
  17. cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_SDL2=OFF -DYUZU_TESTS=OFF -DYUZU_USE_BUNDLED_VCPKG=ON
  18. make translation
  19. cd ..
  20. cd dist/languages
  21. tx push -s