improved output

This commit is contained in:
Guard13007 2014-11-20 12:48:33 -08:00
parent d94284e5e7
commit a2cd38d747

6
build
View File

@ -59,7 +59,6 @@ fi
# build executables and zip files for them # build executables and zip files for them
echo
echo "Building $packageName (version $version)... (win32 zip)" echo "Building $packageName (version $version)... (win32 zip)"
cat "$win32Dir/love-0.9.1-win32/love.exe" "$outputDir/$packageName-$version.love" > "$win32Dir/$packageName.exe" cat "$win32Dir/love-0.9.1-win32/love.exe" "$outputDir/$packageName-$version.love" > "$win32Dir/$packageName.exe"
cd "$win32Dir" cd "$win32Dir"
@ -72,7 +71,6 @@ cd "$includes"
zip -r -X -q "$outputDir/$packageName-${version}_win32.zip" ./* zip -r -X -q "$outputDir/$packageName-${version}_win32.zip" ./*
echo " Done." echo " Done."
echo
echo "Building $packageName (version $version)... (win64 zip)" echo "Building $packageName (version $version)... (win64 zip)"
cat "$win64Dir/love-0.9.1-win64/love.exe" "$outputDir/$packageName-$version.love" > "$win64Dir/$packageName.exe" cat "$win64Dir/love-0.9.1-win64/love.exe" "$outputDir/$packageName-$version.love" > "$win64Dir/$packageName.exe"
cd "$win64Dir" cd "$win64Dir"
@ -86,7 +84,6 @@ zip -r -X -q "$outputDir/$packageName-${version}_win64.zip" ./*
echo " Done." echo " Done."
if [ $macInfoPlistFixed = true ]; then if [ $macInfoPlistFixed = true ]; then
echo
echo "Building $packageName (version $version)... (OS X zip)" echo "Building $packageName (version $version)... (OS X zip)"
# WHY IS THIS CHECK NEEDED? IT IS REDUNDANT # WHY IS THIS CHECK NEEDED? IT IS REDUNDANT
if [ -f "$osx10Dir" ]; then if [ -f "$osx10Dir" ]; then
@ -104,7 +101,6 @@ if [ $macInfoPlistFixed = true ]; then
zip -r -X -q "$outputDir/$packageName-${version}_osx.zip" ./* zip -r -X -q "$outputDir/$packageName-${version}_osx.zip" ./*
echo " Done." echo " Done."
else else
echo
echo "WARN: Mac packaging disabled." echo "WARN: Mac packaging disabled."
echo " See README.md for information." echo " See README.md for information."
fi fi
@ -120,4 +116,4 @@ zip -r -X -q "$outputDir/$packageName-${version}_linux.zip" ./*
echo " Done." echo " Done."
echo echo
echo "Build complete. Unless there are errors above. Double check your files." echo "Builds complete. Unless there are errors above. Double check your files."