From 1aeb193a0277e2f1319dd1e935f8111cf01d301c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 29 Nov 2016 08:59:46 +0100 Subject: contrib, cmake: add stub translation generator Issue: #500 --- contrib/translation-stub.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 contrib/translation-stub.sh (limited to 'contrib') diff --git a/contrib/translation-stub.sh b/contrib/translation-stub.sh new file mode 100644 index 00000000..bb5ed51d --- /dev/null +++ b/contrib/translation-stub.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +build_dir=build-msvc15 + +set -e + +dir="$(dirname -- "$0")" +cd "$dir/.." + +pushd "./$build_dir" >/dev/null +cmake --build . --target i18n >/dev/null +popd >/dev/null + +rel="$(git describe --tag --alw)" + +rm -f "$rel" +find . -wholename "?*/lang/stub.ts" | zip -q9 "$build_dir/$rel-i18n-stub.zip" -@ -- cgit v1.2.3