Permalink
Browse files

new build target "md" for phpmd

  • Loading branch information...
1 parent 723f903 commit f9dbfcc78058ec4e17f27384e2c7bf192a92a7c1 Patrick Engel committed Mar 14, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 build
View
9 build
@@ -59,6 +59,15 @@ function target_beautify()
printf("\n");
}
+function target_md()
+{
+ printf("== %s\n", __FUNCTION__);
+ /* uses phpmd from http://phpmd.org/ */
+ system('phpmd Config text codesize,unusedcode,naming,design');
+ printf("\n");
+}
+
+
function target_package()
{
printf("== %s\n", __FUNCTION__);

0 comments on commit f9dbfcc

Please sign in to comment.