[Travis-CI] bypass makefile to call lupdate

This commit is contained in:
lasconic 2018-12-07 10:06:43 +01:00
parent ac0a3a032c
commit d7350e5907
2 changed files with 7 additions and 7 deletions

View file

@ -58,12 +58,7 @@ xcode:
xcodebuild -project ${XCODEPROJ} -target lrelease;
lupdate:
mkdir build.release; \
cd build.release; \
cmake -DCMAKE_INSTALL_PREFIX="${PREFIX}" -DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_BUILD_NUMBER="${BUILD_NUMBER}" \
.. -G Xcode; \
xcodebuild -project ${XCODEPROJ} -target lupdate;
cd build.release; xcodebuild -project ${XCODEPROJ} -target lupdate;
lrelease:
cd build.release;xcodebuild -project ${XCODEPROJ} -target lrelease;

View file

@ -9,7 +9,12 @@ fi
# Translation routines
# update translation on transifex
make -f Makefile.osx lupdate
./build/gen-qt-projectfile . > mscore.pro
lupdate -no-obsolete mscore.pro
./build/gen-instruments-projectfile ./share/instruments > instruments.pro
lupdate -no-obsolete instruments.pro
rm mscore.pro
rm instruments.pro
sudo pip install transifex-client