Merge lp:~midori/midori/lotsBuilds into lp:midori

Proposed by Cris Dywan
Status: Merged
Approved by: Paweł Forysiuk
Approved revision: 6520
Merged at revision: 6521
Proposed branch: lp:~midori/midori/lotsBuilds
Merge into: lp:midori
Diff against target: 23 lines (+2/-2)
2 files modified
tests/license.sh (+1/-1)
tests/potfiles.sh (+1/-1)
To merge this branch: bzr merge lp:~midori/midori/lotsBuilds
Reviewer Review Type Date Requested Status
Paweł Forysiuk Approve
Review via email: mp+198812@code.launchpad.net

Commit message

Skip folders starting with _ from license and potfiles checks

To post a comment you must log in.
Revision history for this message
Paweł Forysiuk (tuxator) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tests/license.sh'
--- tests/license.sh 2012-11-25 16:43:57 +0000
+++ tests/license.sh 2013-12-12 19:01:25 +0000
@@ -9,5 +9,5 @@
9test -z $(which licensecheck) && echo ...SKIPPED: not installed && return 09test -z $(which licensecheck) && echo ...SKIPPED: not installed && return 0
10test -n "$SRCDIR" && cd $SRCDIR10test -n "$SRCDIR" && cd $SRCDIR
11test -z "$BLDDIR" && BLDDIR=_build11test -z "$BLDDIR" && BLDDIR=_build
12find . \! -path './.*/*' -a \! -path "./$BLDDIR/*" -a \! -path "./debian/*" | xargs licensecheck | grep UNKNOWN && exit 112find . \! -path './.*/*' -a \! -path "./$BLDDIR/*" -a \! -path "./_*/*" -a \! -path "./debian/*" | xargs licensecheck | grep UNKNOWN && exit 1
13echo ...OK13echo ...OK
1414
=== modified file 'tests/potfiles.sh'
--- tests/potfiles.sh 2013-09-08 00:02:47 +0000
+++ tests/potfiles.sh 2013-12-12 19:01:25 +0000
@@ -8,7 +8,7 @@
8echo Checking POTFILES.in for completeness8echo Checking POTFILES.in for completeness
9test -n "$SRCDIR" && cd $SRCDIR9test -n "$SRCDIR" && cd $SRCDIR
10test -z "$BLDDIR" && BLDDIR=_build10test -z "$BLDDIR" && BLDDIR=_build
11for i in $(find . -regextype posix-egrep \! -regex "./($BLDDIR|debian|tests)/.+" -a -regex './[^.]+.+[.](vala|c)'); do11for i in $(find . -regextype posix-egrep \! -regex "./($BLDDIR|_.+|debian|tests)/.+" -a -regex './[^.]+.+[.](vala|c)'); do
12 grep -q $(basename $i) po/POTFILES.in || FILES="$FILES$i\n"12 grep -q $(basename $i) po/POTFILES.in || FILES="$FILES$i\n"
13done13done
14test -n "$FILES" && echo "$FILES...FAILED"14test -n "$FILES" && echo "$FILES...FAILED"

Subscribers

People subscribed via source and target branches

to all changes: