Skip to content

Commit 438267a

Browse files
Ridflavioheleno
authored andcommitted
Add automation to composer to apply patches
Signed-off-by: Grant Millar <rid@cylo.io>
1 parent 9c68758 commit 438267a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@
4949
"docker-php/docker-php-api": "*"
5050
},
5151
"scripts": {
52-
"generate": "vendor/bin/jane-openapi generate",
52+
"generate": [
53+
"vendor/bin/jane-openapi generate",
54+
"cat patches/*.patch | patch -s -p1"
55+
],
5356
"lint": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff",
5457
"lint-fix": "vendor/bin/php-cs-fixer fix --verbose"
5558
},

0 commit comments

Comments
 (0)