diff options
author | Andrew Dolgov <[email protected]> | 2017-04-26 15:33:01 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-04-26 15:33:01 +0300 |
commit | 2f3bce59605a68a25c7b7d675a000c040dcfd326 (patch) | |
tree | 02b85f443095985dcab66752f946492c95c85511 /utils/gitlab-ci/phpmd.sh | |
parent | 7b55001eeeb326323d020dcfac2f864f8c3ad633 (diff) |
move phpmd stuff to a script
Diffstat (limited to 'utils/gitlab-ci/phpmd.sh')
-rw-r--r-- | utils/gitlab-ci/phpmd.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/gitlab-ci/phpmd.sh b/utils/gitlab-ci/phpmd.sh new file mode 100644 index 000000000..3f3b376bc --- /dev/null +++ b/utils/gitlab-ci/phpmd.sh @@ -0,0 +1,7 @@ +#!/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 |