2013-08-17 06:41:19 +00:00
|
|
|
#!/usr/bin/env bash
|
2016-09-20 07:00:53 +00:00
|
|
|
# bin/detect <build-dir> <cache-dir>
|
2013-08-17 06:41:19 +00:00
|
|
|
set -e
|
|
|
|
|
2016-09-20 07:00:53 +00:00
|
|
|
# Exit early if app is clearly not an nginx app
|
|
|
|
if [[ ! -f $1/.static ]]; then
|
2013-08-17 06:41:19 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
2016-09-20 07:00:53 +00:00
|
|
|
|
|
|
|
echo ".static"
|