Skip to content

Commit b760322

Browse files
authored
Merge pull request #184 from NeowayLabs/build-enzo
enzo's ls doesn't support file listings
2 parents 18a2148 + e3ef7aa commit b760322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: hack/check.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ echo "mode: count" > coverage.txt
1818
# Standard $GO tooling behavior is to ignore dirs with leading underscors
1919
for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path './Godeps*' -not -path './contrib*' -not -path './cmd/nash/vendor*' -not -path './research*' -type d);
2020
do
21-
if ls $dir/*.go &> /dev/null; then
21+
if ls $dir | grep '.*\.go$' &> /dev/null; then
2222
$GO test -v -race -covermode=atomic -coverprofile="$dir/profile.tmp" "$dir"
2323
if [ -f $dir/profile.tmp ]
2424
then

0 commit comments

Comments
 (0)