one at a time
This commit is contained in:
@@ -38,32 +38,29 @@ cp *.html $PWD/packaging/linux/$ROOTDIR/usr/share/doc/openra/
|
||||
|
||||
cd packaging/linux
|
||||
|
||||
(
|
||||
echo "Building Debian package."
|
||||
cd deb
|
||||
./buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Debian package build failed."
|
||||
fi
|
||||
) &
|
||||
pushd deb
|
||||
echo "Building Debian package."
|
||||
./buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Debian package build failed."
|
||||
fi
|
||||
popd
|
||||
|
||||
(
|
||||
echo "Building Arch-Linux package."
|
||||
cd pkgbuild
|
||||
sh buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Arch-Linux package build failed."
|
||||
fi
|
||||
) &
|
||||
pushd pkgbuild
|
||||
echo "Building Arch-Linux package."
|
||||
sh buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Arch-Linux package build failed."
|
||||
fi
|
||||
popd
|
||||
|
||||
(
|
||||
echo "Building RPM package."
|
||||
cd rpm
|
||||
sh buildpackage.sh "$TAG" ../$ROOTDIR ~/rpmbuild "$PACKAGEDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "RPM package build failed."
|
||||
fi
|
||||
) &
|
||||
pushd rpm
|
||||
echo "Building RPM package."
|
||||
sh buildpackage.sh "$TAG" ../$ROOTDIR ~/rpmbuild "$PACKAGEDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "RPM package build failed."
|
||||
fi
|
||||
popd
|
||||
|
||||
wait
|
||||
|
||||
|
||||
@@ -74,40 +74,35 @@ cp thirdparty/RestSharp.dll packaging/built
|
||||
# Copy game icon for windows package
|
||||
cp OpenRA.Game/OpenRA.ico packaging/built
|
||||
|
||||
#
|
||||
# Change into packaging directory and run the
|
||||
# platform-dependant packaging in parallel
|
||||
#
|
||||
cd packaging
|
||||
echo "Creating packages..."
|
||||
|
||||
(
|
||||
cd windows
|
||||
makensis -DSRCDIR="$BUILTDIR" -DDEPSDIR="${SRCDIR}/thirdparty/windows" OpenRA.nsi
|
||||
if [ $? -eq 0 ]; then
|
||||
mv OpenRA.exe "$OUTPUTDIR"/OpenRA-$TAG.exe
|
||||
else
|
||||
echo "Windows package build failed."
|
||||
fi
|
||||
) &
|
||||
pushd windows
|
||||
echo "Building Windows setup.exe"
|
||||
makensis -DSRCDIR="$BUILTDIR" -DDEPSDIR="${SRCDIR}/thirdparty/windows" OpenRA.nsi
|
||||
if [ $? -eq 0 ]; then
|
||||
mv OpenRA.exe "$OUTPUTDIR"/OpenRA-$TAG.exe
|
||||
else
|
||||
echo "Windows package build failed."
|
||||
fi
|
||||
popd
|
||||
|
||||
(
|
||||
cd osx
|
||||
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/osx" "$OUTPUTDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "OS X package build failed."
|
||||
fi
|
||||
) &
|
||||
pushd osx
|
||||
echo "Zipping OS X package"
|
||||
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/osx" "$OUTPUTDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "OS X package build failed."
|
||||
fi
|
||||
popd
|
||||
|
||||
(
|
||||
cd linux
|
||||
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/linux" "$OUTPUTDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Linux package build failed."
|
||||
fi
|
||||
) &
|
||||
pushd linux
|
||||
echo "Building Linux packages"
|
||||
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/linux" "$OUTPUTDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Linux package build failed."
|
||||
fi
|
||||
popd
|
||||
|
||||
wait
|
||||
echo "Package build done."
|
||||
|
||||
rm -rf $BUILTDIR
|
||||
|
||||
Reference in New Issue
Block a user