Tweaked release script to build Universal app for OSX
This commit is contained in:
parent
839ffcec86
commit
3d2dc56bf7
@ -107,14 +107,16 @@ project.name = "Premake4"
|
||||
print("Building release version...")
|
||||
os.chdir(folder)
|
||||
os.execute("premake --clean --no-tests --target gnu >../release.log")
|
||||
os.execute("make CONFIG=Release >../release.log")
|
||||
os.chdir("bin/release")
|
||||
|
||||
if (windows) then
|
||||
os.execute("make CONFIG=Release >../release.log")
|
||||
result = os.execute(string.format("7z a -tzip ..\\..\\..\\premake-win32-%s.zip premake4.exe >../release.log", version))
|
||||
elseif (macosx) then
|
||||
os.execute("TARGET_ARCH="-arch i386 -arch ppc" make CONFIG=Release >../release.log")
|
||||
result = os.execute(string.format("tar czvf ../../../premake-macosx-%s.tar.gz premake4 >../release.log", version))
|
||||
else
|
||||
os.execute("make CONFIG=Release >../release.log")
|
||||
result = os.execute(string.format("tar czvf ../../../premake-linux-%s.tar.gz bin/release/premake4 >../release.log", version))
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user