forked from GNUsocial/gnu-social
2a06261f75
This adds a composer.json for all dependencies that are available
15 lines
283 B
Bash
15 lines
283 B
Bash
#!/usr/bin/env bash
|
|
|
|
files_with_long_lines=$(./admin/findphp |
|
|
xargs -L 1 -I FILENAME /usr/bin/env perl admin/longlines.pl FILENAME 80)
|
|
|
|
if [ "$files_with_long_lines" ]
|
|
then
|
|
cat <<EOF 1>&2
|
|
Found lines > 80 characters in:
|
|
|
|
$files_with_long_lines
|
|
EOF
|
|
exit 1
|
|
fi
|