mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-23 21:28:23 +00:00
Fix critical error when using the compiled phar
This commit is contained in:
parent
96ec8d2cc6
commit
0c6cb391b8
|
@ -1,4 +1,5 @@
|
||||||
twig:
|
twig:
|
||||||
|
cache: false
|
||||||
default_path: '%kernel.project_dir%/templates'
|
default_path: '%kernel.project_dir%/templates'
|
||||||
|
|
||||||
when@test:
|
when@test:
|
||||||
|
|
5
run
5
run
|
@ -20,12 +20,11 @@ function build {
|
||||||
composer install --no-dev --prefer-dist --optimize-autoloader
|
composer install --no-dev --prefer-dist --optimize-autoloader
|
||||||
composer install --prefer-dist --optimize-autoloader --working-dir ./vendor-bin/box
|
composer install --prefer-dist --optimize-autoloader --working-dir ./vendor-bin/box
|
||||||
|
|
||||||
# Rebuild the Symfony cache.
|
|
||||||
build-configs cache:clear
|
|
||||||
|
|
||||||
# Generate the phar file.
|
# Generate the phar file.
|
||||||
box compile --config box.json.dist
|
box compile --config box.json.dist
|
||||||
|
|
||||||
|
rm .env.local.php
|
||||||
|
|
||||||
tree dist/
|
tree dist/
|
||||||
|
|
||||||
# TODO: build a Nix derivation and add it to the store.
|
# TODO: build a Nix derivation and add it to the store.
|
||||||
|
|
Loading…
Reference in a new issue