tt-rss/utils/gitlab-ci/phpmd.sh
2017-04-26 21:15:43 +03:00

8 linhas
187 B
Bash

#!/bin/sh
set -e
phpmd include,classes,plugins text utils/gitlab-ci/phpmd-ruleset.xml
FILES=$(ls -dm *.php | tr -d " "| tr -d "\n")
phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml