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

7 lines
210 B
Bash

#!/bin/sh -e
phpmd include text utils/gitlab-ci/phpmd-ruleset.xml
phpmd classes text utils/gitlab-ci/phpmd-ruleset.xml
FILES=$(ls -dm *.php | sed "s/ //g")
phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml