mirror of
https://github.com/openstf/stf
synced 2025-10-06 12:00:08 +02:00
17 lines
448 B
Bash
Executable file
17 lines
448 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e # fail fast
|
|
set -o pipefail # don't ignore exit codes when piping output
|
|
# set -x # enable debugging
|
|
|
|
bp_dir=$(cd $(dirname $0); cd ..; pwd)
|
|
|
|
# Load some convenience functions like status()
|
|
source $bp_dir/bin/common.sh
|
|
|
|
for pack in node bower gulp; do
|
|
if name=$($bp_dir/buildpacks/$pack/bin/detect "$@"); then
|
|
status "Detected ${name}"
|
|
$bp_dir/buildpacks/$pack/bin/compile "$@"
|
|
fi
|
|
done
|