mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:25:56 +00:00
move phpmd stuff to a script
This commit is contained in:
7
utils/gitlab-ci/phpmd.sh
Normal file
7
utils/gitlab-ci/phpmd.sh
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user