UNPKG
grunt-phpmd
Version:
latest (0.1.1)
0.1.1
0.1.0
Grunt plugin for running PHP Mess Detector.
github.com/alappe/grunt-phpmd
alappe/grunt-phpmd
grunt-phpmd
/
tasks
/
phpmd.coffee
15 lines
(11 loc)
•
264 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
###
grunt-
phpmd
Copyright
(
c
) 2013 Andreas Lappe http:
//kaeufli.ch
Licensed under the BSD license. ### module.exports
= (grunt) -> phpmd = (require
'./lib/phpmd'
).
init
grunt grunt.registerMultiTask
'phpmd'
,
'Run phpmd'
, -> phpmd.setup @ phpmd.run()