mirror of
https://github.com/strapi/strapi.git
synced 2025-07-03 15:11:19 +00:00

As a result of taking a look on PR #1967 I realized there is 819 executable files in this repository. It is obvious this is an error.
17 lines
257 B
Bash
17 lines
257 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
TEST_DIRS=""
|
|
|
|
for package in packages/*; do
|
|
if [ -n "$TEST_ONLY" ] && [ `basename $package` != "$TEST_ONLY" ]; then
|
|
continue
|
|
fi
|
|
|
|
if [ -d "$package/test" ]; then
|
|
TEST_DIRS="$package/test $TEST_DIRS"
|
|
fi
|
|
done
|
|
|
|
echo $TEST_DIRS
|