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
+1 -1
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