mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:13:31 +02:00
18 lines
448 B
Bash
Executable File
18 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
|