Add build.sh and script for po mo

This commit is contained in:
shekhar-cis 2022-12-14 18:04:09 +05:30
parent 5cca3ef0a9
commit bddc53ca81
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7
3 changed files with 12 additions and 5 deletions

View File

@ -10,7 +10,4 @@ RUN apt-get update
RUN apt-get install -yq --no-install-suggests --no-install-recommends \ RUN apt-get install -yq --no-install-suggests --no-install-recommends \
software-properties-common build-essential libcap-dev libssl-dev \ software-properties-common build-essential libcap-dev libssl-dev \
python3-dev python3-pip python3-virtualenv libmtdev-dev libpq-dev \ python3-dev python3-pip python3-virtualenv libmtdev-dev libpq-dev \
python-all-dev python-setuptools wget xvfb python-all-dev python-setuptools wget gettext libgettextpo-dev
# RUN wget -O /usr/local/bin/pybitmesage.wsgi https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/pybitmesage.wsgi
# RUN chmod +x /usr/local/bin/pybitmesage.wsgi

View File

@ -1 +1,12 @@
#!/bin/sh #!/bin/sh
echo "Script executed from1: ${PWD}"
mkdir -p ../out
cd pybitmessage/bitmessagekivy
xgettext -Lpython --output=../../../out/messages.pot mpybit.py main.kv ./baseclass/*.py ./kv/*.kv
curl https://www.transifex.com/bitmessage-project/pybitmessage/upload_source/$BUILDBOT_JOBID
# curl https://www.transifex.com/bitmessage-project/pybitmessage-test/$BUILDBOT_JOBID

View File

@ -1 +0,0 @@
#!/bin/sh