mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-01 23:35:59 +00:00
22 lines
391 B
Bash
Executable File
22 lines
391 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
source config.sh
|
|
|
|
SCRIPT_DIR=$( (cd -P $(dirname $0) && pwd) )
|
|
DIST_DIR_BASE=${DIST_DIR_BASE:="$SCRIPT_DIR/dist"}
|
|
|
|
git submodule update --init opus
|
|
cd opus
|
|
git checkout master
|
|
git pull origin master
|
|
cd ..
|
|
|
|
for ARCH in $ARCHS
|
|
do
|
|
OPUS_DIR=opus-$ARCH
|
|
echo "Syncing source for $ARCH to directory $OPUS_DIR"
|
|
rsync opus/ $OPUS_DIR/ --exclude '.*' -a --delete
|
|
done
|