From 96ec8d2cc6aa3cf970a0085a099489df2e2dd5a9 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 29 Nov 2023 09:25:21 +0000 Subject: [PATCH] Change the output directory --- .gitignore | 2 +- box.json.dist | 2 +- run | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8a74e30..aab87b2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ /**/vendor/ /.direnv -/build-configs +/dist/ ###> symfony/framework-bundle ### /.env.local diff --git a/box.json.dist b/box.json.dist index 15273ac..5113af7 100644 --- a/box.json.dist +++ b/box.json.dist @@ -1,5 +1,5 @@ { - "output": "build-configs", + "output": "dist/build-configs", "files": [ ".env", "autoload_runtime.template", diff --git a/run b/run index 8c1f928..70d808a 100755 --- a/run +++ b/run @@ -7,7 +7,8 @@ export PATH=$PATH:./bin:./vendor/bin:./vendor-bin/box/vendor/bin # Delete any temporary or generated files. 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. @@ -25,6 +26,8 @@ function build { # Generate the phar file. box compile --config box.json.dist + tree dist/ + # TODO: build a Nix derivation and add it to the store. }