mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
Change the output directory
This commit is contained in:
parent
87c2f2e496
commit
96ec8d2cc6
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,6 +1,6 @@
|
|||
/**/vendor/
|
||||
/.direnv
|
||||
/build-configs
|
||||
/dist/
|
||||
|
||||
###> symfony/framework-bundle ###
|
||||
/.env.local
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"output": "build-configs",
|
||||
"output": "dist/build-configs",
|
||||
"files": [
|
||||
".env",
|
||||
"autoload_runtime.template",
|
||||
|
|
5
run
5
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.
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue