Skip to content

Commit

Permalink
new build target "md" for phpmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Engel committed Mar 14, 2011
1 parent 723f903 commit f9dbfcc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build
Expand Up @@ -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__);
Expand Down

0 comments on commit f9dbfcc

Please sign in to comment.