tt-rss/utils/gitlab-ci/phpmd.sh

9 lines
187 B
Bash
Raw Normal View History

2017-04-26 20:15:23 +02:00
#!/bin/sh
set -e
2017-04-26 14:33:01 +02:00
2017-04-26 20:15:43 +02:00
phpmd include,classes,plugins text utils/gitlab-ci/phpmd-ruleset.xml
2017-04-26 14:33:01 +02:00
2017-04-26 14:38:40 +02:00
FILES=$(ls -dm *.php | tr -d " "| tr -d "\n")
2017-04-26 14:33:01 +02:00
phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml