Skip to content

Commit 3d181b5

Browse files
authored
Merge pull request #9 from masenf/find-fail
tox.ini: exit non-zero if any command fails
2 parents a93e7d5 + 6715493 commit 3d181b5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tox.ini

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ setenv =
1515
deps =
1616
dzcb~=0.1
1717
commands =
18-
/usr/bin/env find {toxinidir}/input \
19-
-name "generate.sh" \
20-
{env:FIND_OPTS} -exec \{\} ;
18+
/usr/bin/env bash -c " \
19+
find {toxinidir}/input \
20+
-name "generate.sh" \
21+
{env:FIND_OPTS} -print0 | \
22+
xargs -0 -n 1 bash \
23+
"

0 commit comments

Comments
 (0)