mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2024-08-27 19:06:05 +00:00
11 lines
172 B
Bash
Executable File
11 lines
172 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# bin/detect <build-dir> <cache-dir>
|
|
set -e
|
|
|
|
# Exit early if app is clearly not an nginx app
|
|
if [[ ! -f $1/.static ]]; then
|
|
exit 1
|
|
fi
|
|
|
|
echo ".static"
|