Add trace mode

This commit is contained in:
Jose Diaz-Gonzalez 2016-09-20 01:31:04 -06:00
parent b69c1f3854
commit fb081cabb2
3 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,6 @@
#!/usr/bin/env bash
# bin/compile <build-dir> <cache-dir>
set -e
set -o pipefail
set -eo pipefail; [[ $TRACE ]] && set -x
NGINX_VERSION="1.10.1"
NGINX_TARBALL="nginx-${NGINX_VERSION}.tar.gz"

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# bin/detect <build-dir> <cache-dir>
set -e
set -eo pipefail; [[ $TRACE ]] && set -x
# Exit early if app is clearly not an nginx app
if [[ ! -f $1/.static ]]; then

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
# bin/release <build-dir>
set -eo pipefail; [[ $TRACE ]] && set -x
cat <<EOF
---