зеркало из https://github.com/nextcloud/spreed.git
12 строки
247 B
Bash
12 строки
247 B
Bash
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
STYLELINT=$(which stylelint || true)
|
||
|
if [ -z "$STYLELINT" ]; then
|
||
|
echo "Can't find command \"stylelint\" in $PATH"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
echo Checking stylesheets with $STYLELINT ...
|
||
|
find -name "*.css" -print0 | xargs -0 $STYLELINT
|