build(grunt): Build doc on install

This commit is contained in:
Pierre Rudloff 2019-09-21 13:19:24 +02:00
parent 4870f481ed
commit e292260594
5 changed files with 9 additions and 7 deletions

View File

@ -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']);
};

View File

@ -15,7 +15,8 @@
"smarty-gettext/smarty-gettext": "~1.6.0",
"zonuexe/http-accept-language": "~0.4.1",
"rinvex/countries": "~3.1.0",
"php-mock/php-mock-mockery": "~1.3.0"
"php-mock/php-mock-mockery": "~1.3.0",
"ext-xsl": "*"
},
"require-dev": {
"symfony/var-dumper": "~3.4.1",

6
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "e76c13aa0587fbef823cd805264ba56c",
"content-hash": "6c758e717f29efc2705fb50b3e7a98e9",
"packages": [
{
"name": "aura/session",
@ -4065,7 +4065,9 @@
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform": {
"ext-xsl": "*"
},
"platform-dev": [],
"platform-overrides": {
"php": "7.0.33"

View File

@ -7,6 +7,7 @@
"dependencies": {
"grunt": "~1.0.1",
"grunt-contrib-cssmin": "~2.2.1",
"grunt-phpdocumentor": "^0.4.1",
"grunt-potomo": "~3.5.0",
"open-sans-fontface": "~1.4.0"
},
@ -21,7 +22,6 @@
"grunt-jsonlint": "~1.1.0",
"grunt-markdownlint": "~2.1.0",
"grunt-phpcs": "~0.4.0",
"grunt-phpdocumentor": "~0.4.1",
"grunt-phpstan": "~0.2.0",
"grunt-phpunit": "~0.3.6"
},

View File

@ -894,7 +894,7 @@ grunt-phpcs@~0.4.0:
resolved "https://registry.yarnpkg.com/grunt-phpcs/-/grunt-phpcs-0.4.0.tgz#a08d625fc64465e453b2bd93f810b2a81e94bdaa"
integrity sha1-oI1iX8ZEZeRTsr2T+BCyqB6Uvao=
grunt-phpdocumentor@~0.4.1:
grunt-phpdocumentor@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/grunt-phpdocumentor/-/grunt-phpdocumentor-0.4.1.tgz#513a5cefd8804d45792ea35ddfbcb2471e307141"
integrity sha1-UTpc79iATUV5LqNd37yyRx4wcUE=