mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-09-28 19:23:01 +00:00
25 lines
407 B
Bash
Executable file
25 lines
407 B
Bash
Executable file
#!/bin/sh
|
|
BIN_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
BUILD_DIR=$1
|
|
|
|
# Build dtach for running scripts in the background
|
|
|
|
cd vendor/dtach/
|
|
./configure
|
|
make
|
|
mkdir -p $BUILD_DIR/dtach/bin/
|
|
mv dtach $BUILD_DIR/dtach/bin/
|
|
cd ../../
|
|
|
|
# Move rtun files to the dyno
|
|
|
|
mv vendor/rtun $BUILD_DIR/rtun
|
|
|
|
# Move Java files to the dyno
|
|
|
|
mv vendor/java $BUILD_DIR/java
|
|
|
|
# Move scripts to the dyno
|
|
|
|
mv script $BUILD_DIR/script
|