strichliste: use optimized autoloader

This commit is contained in:
Micha Ober
2026-06-16 22:03:07 +02:00
parent 2fec1f1b4d
commit 6cec788e01
+4
View File
@@ -28,6 +28,10 @@ php.buildComposerProject2 (finalAttrs: {
--replace-fail "strichliste.yaml" "/etc/strichliste.yaml"
'';
postBuild = ''
composer dump-autoload --optimize --no-dev --no-scripts --no-interaction --no-cache
'';
postInstall = ''
mkdir $out/bin
ln -s $out/share/php/strichliste-backend/bin/console $out/bin/strichliste-console