forked from mirrors/bookwyrm
Move -x down to eliminate pointless noise
This commit is contained in:
parent
3cb28273c4
commit
f86140c7e4
1 changed files with 4 additions and 3 deletions
7
bw-dev
7
bw-dev
|
@ -12,9 +12,6 @@ trap showerr EXIT
|
||||||
source .env
|
source .env
|
||||||
trap - EXIT
|
trap - EXIT
|
||||||
|
|
||||||
# show commands as they're executed
|
|
||||||
set -x
|
|
||||||
|
|
||||||
function clean {
|
function clean {
|
||||||
docker-compose stop
|
docker-compose stop
|
||||||
docker-compose rm -f
|
docker-compose rm -f
|
||||||
|
@ -40,6 +37,10 @@ function initdb {
|
||||||
|
|
||||||
CMD=$1
|
CMD=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
# show commands as they're executed
|
||||||
|
set -x
|
||||||
|
|
||||||
case "$CMD" in
|
case "$CMD" in
|
||||||
up)
|
up)
|
||||||
docker-compose up --build
|
docker-compose up --build
|
||||||
|
|
Loading…
Reference in a new issue