summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json8
1 files changed, 7 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index 3267c42..a78a005 100644
--- a/composer.json
+++ b/composer.json
@@ -70,6 +70,12 @@
"test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr test",
"cs-check": "./vendor/bin/phpcs --standard=phpcs.xml",
"cs-fix": "./vendor/bin/phpcbf --ignore=\"./vendor/\" --standard=psr12 src test",
- "analyse": "./vendor/phpstan.phar analyse"
+ "analyse": "./vendor/phpstan.phar analyse",
+ "post-install-cmd": [
+ "[ -d vendor/tecnickcom/tc-lib-pdf-font ] && make -C vendor/tecnickcom/tc-lib-pdf-font deps fonts"
+ ],
+ "post-update-cmd": [
+ "[ -d vendor/tecnickcom/tc-lib-pdf-font ] && make -C vendor/tecnickcom/tc-lib-pdf-font deps fonts"
+ ]
}
}