Change the output directory

This commit is contained in:
Oliver Davies 2023-11-29 09:25:21 +00:00
parent 87c2f2e496
commit 96ec8d2cc6
3 changed files with 6 additions and 3 deletions

2
.gitignore vendored
View file

@ -1,6 +1,6 @@
/**/vendor/ /**/vendor/
/.direnv /.direnv
/build-configs /dist/
###> symfony/framework-bundle ### ###> symfony/framework-bundle ###
/.env.local /.env.local

View file

@ -1,5 +1,5 @@
{ {
"output": "build-configs", "output": "dist/build-configs",
"files": [ "files": [
".env", ".env",
"autoload_runtime.template", "autoload_runtime.template",

5
run
View file

@ -7,7 +7,8 @@ export PATH=$PATH:./bin:./vendor/bin:./vendor-bin/box/vendor/bin
# Delete any temporary or generated files. # Delete any temporary or generated files.
function clean { function clean {
rm -frv build build-configs tmp vendor vendor-bin/box/vendor rm -frv dist/* tmp vendor vendor-bin/box/vendor
touch dist/.keep
} }
# Build the phar version of build-configs. # Build the phar version of build-configs.
@ -25,6 +26,8 @@ function build {
# Generate the phar file. # Generate the phar file.
box compile --config box.json.dist box compile --config box.json.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.
} }