ttrss/utils/gitlab-ci/phpmd.sh

9 lines
179 B
Bash
Raw Normal View History

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