forked from GNUsocial/gnu-social
2a06261f75
This adds a composer.json for all dependencies that are available
17 lines
320 B
Bash
17 lines
320 B
Bash
#!/usr/bin/env bash
|
|
#
|
|
# Look in the local directory for PHP files that have tabs in them. If
|
|
# there are files with tabs, print the list of files and exit with
|
|
# non-zero status.
|
|
|
|
tabs=$(./admin/findphp | xargs egrep -n ' ' | sort)
|
|
|
|
if [ ! -z "$tabs" ]
|
|
then
|
|
cat <<EOF 1>&2
|
|
Found tabs in:
|
|
$tabs
|
|
EOF
|
|
exit 1
|
|
fi
|