From 0c6cb391b8f4fde579b915b7f62d526740c930b4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 29 Nov 2023 09:59:49 +0000 Subject: [PATCH] Fix critical error when using the compiled phar --- config/packages/twig.yaml | 1 + run | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index f9f4cc5..43ad507 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -1,4 +1,5 @@ twig: + cache: false default_path: '%kernel.project_dir%/templates' when@test: diff --git a/run b/run index 70d808a..7cabd14 100755 --- a/run +++ b/run @@ -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.