Update build script for separate prebuilts submodule
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Check out the source
|
# Check out the source without the Windows/Mac prebuilts
|
||||||
[[ ! -z "$COMMIT" ]] || COMMIT="master"
|
[[ ! -z "$COMMIT" ]] || COMMIT="master"
|
||||||
echo "Checking out $COMMIT"
|
echo "Checking out $COMMIT"
|
||||||
git clone https://github.com/moonlight-stream/moonlight-qt.git
|
git clone https://github.com/moonlight-stream/moonlight-qt.git
|
||||||
cd moonlight-qt
|
cd moonlight-qt
|
||||||
git checkout $COMMIT
|
git checkout $COMMIT
|
||||||
git log -1
|
git log -1
|
||||||
git submodule update --init --recursive
|
git -c submodule.libs.update=none submodule update --init --recursive
|
||||||
|
|
||||||
# Grab the verson metadata
|
# Grab the verson metadata
|
||||||
VERSION=`cat app/version.txt`
|
VERSION=`cat app/version.txt`
|
||||||
@@ -15,10 +15,6 @@ VERSION=`cat app/version.txt`
|
|||||||
# Create a build directory
|
# Create a build directory
|
||||||
mkdir /opt/build
|
mkdir /opt/build
|
||||||
|
|
||||||
# Nuke the libs folder - not needed for Linux
|
|
||||||
git rm -r libs
|
|
||||||
git -c user.name="Docker Build" -c user.email="docker@build" commit -m "Remove pre-built libraries"
|
|
||||||
|
|
||||||
# Generate source tarball
|
# Generate source tarball
|
||||||
scripts/generate-src.sh
|
scripts/generate-src.sh
|
||||||
|
|
||||||
@@ -43,4 +39,4 @@ shopt -s extglob
|
|||||||
cp -v -r !(moonlight-qt-$VERSION) /out
|
cp -v -r !(moonlight-qt-$VERSION) /out
|
||||||
|
|
||||||
# Done!
|
# Done!
|
||||||
echo "Build successful!"
|
echo "Build successful!"
|
||||||
|
|||||||
Reference in New Issue
Block a user