Merge pull request #256 from owncloud/add-phpdoc
Add phpdocumentor task to grunt
This commit is contained in:
commit
064488d7b8
2 changed files with 18 additions and 10 deletions
|
@ -31,6 +31,7 @@ module.exports = (grunt) ->
|
|||
grunt.loadNpmTasks('grunt-phpunit')
|
||||
grunt.loadNpmTasks('grunt-karma')
|
||||
grunt.loadNpmTasks('grunt-newer')
|
||||
grunt.loadNpmTasks('grunt-phpdocumentor')
|
||||
|
||||
grunt.initConfig
|
||||
|
||||
|
@ -121,6 +122,12 @@ module.exports = (grunt) ->
|
|||
options:
|
||||
colors: true
|
||||
|
||||
phpdocumentor:
|
||||
default:
|
||||
options:
|
||||
directory : '../appinfo,../db,../controllers,../service'
|
||||
target : '../docs'
|
||||
|
||||
|
||||
grunt.registerTask('ci', ['karma:continuous'])
|
||||
|
||||
|
|
|
@ -16,20 +16,21 @@
|
|||
"contributors": [],
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"coffee-script": "~1.4.0",
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-cli": "~0.1.6",
|
||||
"coffee-script": "~1.4.0",
|
||||
"grunt-contrib-coffee": "~0.7.0",
|
||||
"grunt-contrib-less": "~0.6.4",
|
||||
"grunt-contrib-concat": "~0.1.2",
|
||||
"grunt-contrib-watch": "~0.2.0",
|
||||
"grunt-coffeelint": "0.0.6",
|
||||
"grunt-wrap": "~0.2.0",
|
||||
"phantomjs": "~1.8.1-3",
|
||||
"grunt-phpunit": "0.2.0",
|
||||
"grunt-karma": "~0.4.5",
|
||||
"grunt-concurrent": "~1.0.0",
|
||||
"grunt-newer": "~1.1.1"
|
||||
"grunt-contrib-coffee": "~0.7.0",
|
||||
"grunt-contrib-concat": "~0.1.2",
|
||||
"grunt-contrib-less": "~0.6.4",
|
||||
"grunt-contrib-watch": "~0.2.0",
|
||||
"grunt-karma": "~0.4.5",
|
||||
"grunt-newer": "~1.1.1",
|
||||
"grunt-phpdocumentor": "^0.4.1",
|
||||
"grunt-phpunit": "0.2.0",
|
||||
"grunt-wrap": "~0.2.0",
|
||||
"phantomjs": "~1.8.1-3"
|
||||
},
|
||||
"engine": "node >= 0.8"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue