Browse Source

updated deplay script to make static marketmaker

etomic
Satinder Grewal 8 years ago
committed by GitHub
parent
commit
d467826d63
  1. 10
      osx_deploy.sh

10
osx_deploy.sh

@ -6,13 +6,21 @@ TMP_DIR=~/tmp/iguana
mkdir -p $TMP_DIR mkdir -p $TMP_DIR
echo "making $TMP_DIR" echo "making $TMP_DIR"
binaries=("iguana") binaries=("iguana" "marketmaker")
for binary in "${binaries[@]}"; for binary in "${binaries[@]}";
do do
echo "copying $binary to $TMP_DIR" echo "copying $binary to $TMP_DIR"
if [ "$binary" = "iguana" ]
then
cp agents/$binary $TMP_DIR cp agents/$binary $TMP_DIR
fi
if [ "$binary" = "marketmaker" ]
then
cp iguana/$binary $TMP_DIR
fi
# find the dylibs to copy for iguana # find the dylibs to copy for iguana
DYLIBS=`otool -L $TMP_DIR/$binary | grep "/usr/local" | awk -F' ' '{ print $1 }'` DYLIBS=`otool -L $TMP_DIR/$binary | grep "/usr/local" | awk -F' ' '{ print $1 }'`

Loading…
Cancel
Save