2019-02-23 18:26:34 +00:00
|
|
|
#!/bin/sh
|
2018-05-25 16:49:13 +00:00
|
|
|
BIN_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
|
|
BUILD_DIR=$1
|
|
|
|
|
2019-11-30 18:21:21 +00:00
|
|
|
# Build dtach for running scripts in the background
|
2019-11-30 18:05:23 +00:00
|
|
|
|
2019-11-30 18:37:28 +00:00
|
|
|
cd vendor/dtach/
|
2019-11-30 18:05:23 +00:00
|
|
|
./configure
|
|
|
|
make
|
2019-11-30 18:21:21 +00:00
|
|
|
mkdir -p $BUILD_DIR/dtach/bin/
|
2019-11-30 18:09:18 +00:00
|
|
|
mv dtach $BUILD_DIR/dtach/bin/
|
2019-11-30 18:27:57 +00:00
|
|
|
cd ../../
|
2019-11-30 18:05:23 +00:00
|
|
|
|
2020-01-28 23:03:52 +00:00
|
|
|
# Move rtun files to the dyno
|
|
|
|
|
|
|
|
mv vendor/rtun $BUILD_DIR/rtun
|
|
|
|
|
2019-11-30 18:37:28 +00:00
|
|
|
# Move Java files to the dyno
|
|
|
|
|
2019-11-30 18:40:06 +00:00
|
|
|
mv vendor/java $BUILD_DIR/java
|
2019-11-30 18:37:28 +00:00
|
|
|
|
|
|
|
# Move scripts to the dyno
|
2019-11-30 18:05:23 +00:00
|
|
|
|
2019-08-06 17:48:24 +00:00
|
|
|
mv script $BUILD_DIR/script
|