diff options
author | Christian Dywan <christian@twotoasts.de> | 2018-09-02 12:33:56 +0200 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2018-09-02 12:33:56 +0200 |
commit | 89e02daaa6ba30fa8c26e8dfc571b85402531769 (patch) | |
tree | dcc8829d9f68a7676045cd440ce1ee215ebf7de1 | |
parent | 1950a256c4324efde9838a00030089b4747067f9 (diff) | |
download | midori-git-89e02daaa6ba30fa8c26e8dfc571b85402531769.tar.gz |
Make POTFILES.in check ignore parts folderpotfiles_ignore_parts
Otherwise building the snap fails the test.
-rw-r--r-- | po/POTFILES.in | 1 | ||||
-rwxr-xr-x | tests/potfiles.sh | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in index 0d733484..cd04f74f 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -13,6 +13,7 @@ core/history.vala core/loggable.vala core/main.vala core/network-check.vala +core/plugins.vala core/shortcuts.val core/statusbar.vala core/suggestion-row.vala diff --git a/tests/potfiles.sh b/tests/potfiles.sh index e6330c66..cddc8170 100755 --- a/tests/potfiles.sh +++ b/tests/potfiles.sh @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# Copyright 2012 Christian Dywan <christian@twotoasts.de> +# Copyright 2012-2018 Christian Dywan <christian@twotoasts.de> # # This script is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -8,7 +8,7 @@ echo Checking POTFILES.in for completeness test -n "$SRCDIR" && cd $SRCDIR test -z "$BLDDIR" && BLDDIR=_build -for i in $(find . -regextype posix-egrep \! -regex "./($BLDDIR|_.+|debian|tests)/.+" -a -regex './[^.]+.+[.](vala|c)'); do +for i in $(find . -regextype posix-egrep \! -regex "./($BLDDIR|_.+|debian|tests|parts)/.+" -a -regex './[^.]+.+[.](vala|c)'); do grep -q $(basename $i) po/POTFILES.in || FILES="$FILES$i\n" done test -n "$FILES" && echo "$FILES...FAILED" |