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. }