1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-23 17:43:07 +00:00
buildpack-nginx/bin/detect

11 lines
172 B
Plaintext
Raw Normal View History

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"