Another fix to my fix
This commit is contained in:
parent
02719c3d11
commit
79d8f8026c
@ -107,16 +107,18 @@ project.name = "Premake4"
|
||||
print("Building release version...")
|
||||
os.chdir(folder)
|
||||
os.execute("premake --clean --no-tests --target gnu >../release.log")
|
||||
os.chdir("bin/release")
|
||||
|
||||
if (windows) then
|
||||
os.execute("make CONFIG=Release >../release.log")
|
||||
os.chdir("bin/release")
|
||||
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')
|
||||
os.chdir("bin/release")
|
||||
result = os.execute(string.format("tar czvf ../../../premake-macosx-%s.tar.gz premake4 >../release.log", version))
|
||||
else
|
||||
os.execute("make CONFIG=Release >../release.log")
|
||||
os.chdir("bin/release")
|
||||
result = os.execute(string.format("tar czvf ../../../premake-linux-%s.tar.gz bin/release/premake4 >../release.log", version))
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user