mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-05 19:05:33 +01:00
Change the output directory
This commit is contained in:
parent
87c2f2e496
commit
96ec8d2cc6
3 changed files with 6 additions and 3 deletions
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…
Add table
Add a link
Reference in a new issue