Skip to content

Commit 0a6a84f

Browse files
committed
Add DigiLive/gitChangelog for change log generation
1 parent f4cf709 commit 0a6a84f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

composer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"phpunit/phpunit": "^8 || ^9",
3636
"squizlabs/php_codesniffer": "*",
3737
"phpmd/phpmd": "2.*",
38-
"jblond/php-cli": "^1.0"
38+
"jblond/php-cli": "^1.0",
39+
"digilive/git-changelog": "^1"
3940
},
4041
"suggest": {
4142
"jblond/php-cli": "^1.0"
@@ -53,12 +54,14 @@
5354
"phpunit": "phpunit",
5455
"php_src": "phpcs --standard=phpcs.xml -s -p --colors ./lib/",
5556
"php_test": "phpcs --standard=phpcs.xml -s -p --colors ./tests/",
56-
"phpmd": "phpmd ./ ansi cleancode,codesize,controversial,design,naming,unusedcode --exclude vendor"
57+
"phpmd": "phpmd ./ ansi cleancode,codesize,controversial,design,naming,unusedcode --exclude vendor",
58+
"changelog": "php generateChangelog.php"
5759
},
5860
"scripts-descriptions": {
5961
"phpunit": "Run PHPUnit tests",
6062
"php_src": "Run code sniffer on lib directory",
6163
"php_test": "Run code sniffer on tests directory",
62-
"phpmd": "Run php mess detector"
64+
"phpmd": "Run php mess detector",
65+
"changelog": "generate changelog from commits"
6366
}
6467
}

0 commit comments

Comments
 (0)