Fix critical error when using the compiled phar

This commit is contained in:
Oliver Davies 2023-11-29 09:59:49 +00:00
parent 96ec8d2cc6
commit 0c6cb391b8
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,5 @@
twig:
cache: false
default_path: '%kernel.project_dir%/templates'
when@test:

5
run
View file

@ -20,12 +20,11 @@ function build {
composer install --no-dev --prefer-dist --optimize-autoloader
composer install --prefer-dist --optimize-autoloader --working-dir ./vendor-bin/box
# Rebuild the Symfony cache.
build-configs cache:clear
# Generate the phar file.
box compile --config box.json.dist
rm .env.local.php
tree dist/
# TODO: build a Nix derivation and add it to the store.