mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 10:17:32 +00:00
Fix critical error when using the compiled phar
This commit is contained in:
parent
96ec8d2cc6
commit
0c6cb391b8
|
@ -1,4 +1,5 @@
|
|||
twig:
|
||||
cache: false
|
||||
default_path: '%kernel.project_dir%/templates'
|
||||
|
||||
when@test:
|
||||
|
|
5
run
5
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.
|
||||
|
|
Loading…
Reference in a new issue