build(grunt): Build doc on install
This commit is contained in:
parent
4870f481ed
commit
e292260594
5 changed files with 9 additions and 7 deletions
|
@ -143,9 +143,8 @@ module.exports = function (grunt) {
|
|||
grunt.loadNpmTasks('grunt-phpstan');
|
||||
grunt.loadNpmTasks('grunt-githooks');
|
||||
|
||||
grunt.registerTask('default', ['cssmin', 'potomo']);
|
||||
grunt.registerTask('default', ['cssmin', 'potomo', 'phpdocumentor']);
|
||||
grunt.registerTask('lint', ['csslint', 'jslint', 'fixpack', 'jsonlint', 'markdownlint', 'phpcs', 'phpstan']);
|
||||
grunt.registerTask('test', ['phpunit']);
|
||||
grunt.registerTask('doc', ['phpdocumentor']);
|
||||
grunt.registerTask('release', ['default', 'githash', 'compress']);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue